You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net.Buffers methods are on pointer receivers and it seems like the implementation of the methods immediately dereferences it. This seems odd since a slice is already a reference. I think this can be done without breaking compatibility. Concretely, this becomes frustrating if converting from an existing [][]byte:
net.Buffers
methods are on pointer receivers and it seems like the implementation of the methods immediately dereferences it. This seems odd since a slice is already a reference. I think this can be done without breaking compatibility. Concretely, this becomes frustrating if converting from an existing[][]byte
:Although I realize it could be written as:
The text was updated successfully, but these errors were encountered: