Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeysComparable ¶
func KeysComparable[M ~map[K]V, K constraints.Ordered, V any](m M) []K
KeysComparable returns the keys of the map m. The keys will be in an indeterminate order but K needs to be ordered.
func KeysSorted ¶
func KeysSorted[M ~map[K]V, K constraints.Ordered, V any](m M) []K
KeysSorted returns the keys of the map sorted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.