Skip to content

Commit

Permalink
README: use CL permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dolmen committed Apr 24, 2024
1 parent 1a7a678 commit bce09fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data itself.

## WARNING 2

Go 1.21 has added [NativeEndian](https://pkg.go.dev/encoding/binary#NativeEndian) (see proposal [#57237](https://go.dev/issue/57237)) which serves the same purpose. However that implementation has a bug: you can't use `==` to compare `binary.NativeEndian` with either `binary.BigEndian` or `binary.LittleEndian`. See [#67026](https://go.dev/issue/67026) and the proposed fix in [CL 581655](https://go-review.googlesource.com/c/go/+/581655).
Go 1.21 has added [NativeEndian](https://pkg.go.dev/encoding/binary#NativeEndian) (see proposal [#57237](https://go.dev/issue/57237)) which serves the same purpose. However that implementation has a bug: you can't use `==` to compare `binary.NativeEndian` with either `binary.BigEndian` or `binary.LittleEndian`. See [#67026](https://go.dev/issue/67026) and the proposed fix in [CL 581655](https://go.dev/cl/581655).

This package doesn't have this bug, and is compatible even with very old versions of Go.

Expand Down

0 comments on commit bce09fa

Please sign in to comment.