github.com/lelysses/lesser (go): lesser defines a type-parameterized interface called "Interface" with one method, Less, which returns a boolean for whether the caller, of type T, is less than some other instance of T. This is blatantly stolen from Robert Griesemer's talk at Gophercon about the type parameters proposal in 2020.  The library then defines a type-parameterized wrapper called "Basic" over all Ordered built-in types, allowing these types to implement Interface so that Interface can function as a uniform constraint for all orderable types, permitting them to all be stored in equivalent ordered collections. See the README for rationale.
Keywords: comparable|constraints|generics|go|golang|lesser|ordered