There was an error while loading. Please reload this page.
@drchase had the idea of a modernizer to replace unsafe pointer arithmetic expressions such as
(*T)(unsafe.Pointer(uintptr(unsafe.Pointer(ptr)) + uintptr(n)))
by calls to helper functions in the unsafe package, such as
unsafe.Add(ptr, n)
We should implement it. Other functions include String, StringData, Slice, and SliceData.