maps

package
v4.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL