Documentation
¶
Overview ¶
Package maps implements generic (type-parameterized) utilities for working with simple Go maps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasKey ¶
func HasKey[K comparable, V any](m map[K]V, k K) bool
func HaveAnyKeysInCommon ¶
func HaveAnyKeysInCommon[K comparable, V1, V2 any](a map[K]V1, b map[K]V2) bool
func Keys ¶
func Keys[K comparable, V any](m map[K]V) []K
func SortedKeys ¶
func SortedKeys[K constraints.Ordered, V any](m map[K]V) []K
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.