4 ms·
A general "min/max" function could be implemented with Generics?
by phplovesong 3y ago
A general "min/max" function could be implemented with Generics?
- Cthulhu_ 3y agoAnd has, since Go 1.21, but that's very recent so everything written before August this year may have the problem of a min/max utility and the like: https://go.dev/blog/go1.21 https://go.dev/blog/go1.21