Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortAscKeys ¶
func SortAscKeys[K comparable, V cmp.Ordered](m map[K]V) []K
SortedAscKeys returns a sorted slice of keys for the given map
func SortDescKeys ¶
func SortDescKeys[K comparable, V cmp.Ordered](m map[K]V) []K
SortDescKeys returns a sorted slice of keys for the given map in descending order
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.