Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys ¶
func Keys[M ~map[K]V, K comparable, V any](m M) []K
Keys returns a slice of keys from the map. Alternative to using maps.Keys which returns an iterator instead of a slice.
func Values ¶
func Values[M ~map[K]V, K comparable, V any](m M) []V
Values returns a slice of values from the map. Alternative to using maps.Values which returns an iterator instead of a slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.