|
|
|
|
|
by MHordecki
2199 days ago
|
|
The vocabulary from that language spec is not even followed consistently in the language's own standard library. The `strings.Compare`[1] function is used to establish ordering, in the spec sense. You'd think they would name it "Order". Similarly, the popular go-cmp[2] library provides `Equal` for equality, instead of `Compare`. [1]: https://godoc.org/strings#Compare
[2]: https://github.com/google/go-cmp |
|