Show HN: Unicmp – fast universal ordering function for Go
3 points| Snawoot | 9 months ago |pkg.go.dev
In other words, it's like `cmp.Compare` from Go's stdlib expanded to every `comparable` type, not just strings and numbers.
3 points| Snawoot | 9 months ago |pkg.go.dev
In other words, it's like `cmp.Compare` from Go's stdlib expanded to every `comparable` type, not just strings and numbers.
No comments yet.