Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyMapContains ¶
func Keys ¶ added in v0.4.43
func Keys[K comparable, V any](m map[K]V) []K
Keys returns a slice containing the keys present in the map.
func MapFromKeys ¶
func Values ¶ added in v0.4.43
func Values[K comparable, V any](m map[K]V) []V
Values returns a slice containing the values corresponding to the keys present in the map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.