Documentation ¶
Index ¶
- func FindLargestIntValueInMap[K comparable](myMap map[K]int) (K, int)
- func GetMaxKey[T constraints.Ordered, V any](m map[T]V) T
- func KeysSlice[T comparable, V any](in map[T]V) []T
- func StableSortedKeys[T constraints.Ordered, V any](m map[T]V) []T
- func ValuesSlice[T comparable, V any](in map[T]V) []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLargestIntValueInMap ¶
func FindLargestIntValueInMap[K comparable](myMap map[K]int) (K, int)
func GetMaxKey ¶
func GetMaxKey[T constraints.Ordered, V any](m map[T]V) T
func KeysSlice ¶ added in v4.1.3
func KeysSlice[T comparable, V any](in map[T]V) []T
func StableSortedKeys ¶
func StableSortedKeys[T constraints.Ordered, V any](m map[T]V) []T
func ValuesSlice ¶ added in v4.1.3
func ValuesSlice[T comparable, V any](in map[T]V) []V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.