Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortFloats ¶ added in v1.0.1
func SortFloats[F constraints.Float](input []F)
SortFloats sorts a slice of any float type in ascending order.
func SortInts ¶
func SortInts[T constraints.Integer](input []T)
SortInts sorts a slice of any integer type in ascending order.
func SortStrings ¶
func SortStrings[T ~string](input []T)
SortStrings sorts a slice of strings in ascending order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.