3 ms·
Also time.Time (which could be thought of as two int64s) Even string ordering there is a lot left up to the implementation as far as how it is done. Do capital
by bigdubs 10y ago
Also time.Time (which could be thought of as two int64s)
Even string ordering there is a lot left up to the implementation as far as how it is done. Do capitals come first? Does capitalization not matter? etc.
For non-intrinsic types you would provide the equivalent `less` function, but in my own programming the bulk of the things I order by are intrinsic.