Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparable ¶
Comparable method CompareTo(Comparable) should return a negative number when v1 < v2, a positive number when v1 > v2 and zero when v1 == v2.
type Container ¶
type Container[T Comparable[T]] struct { Items []T // container data Desc bool // asc or desc, default asc. }
Click to show internal directories.
Click to hide internal directories.