Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
func Clone[M ~map[K]V, K comparable, V any](m M) M
Clone returns a map clone, skips nil maps.
func Keys ¶
func Keys[M ~map[K]V, K comparable, V any](m M) []K
Keys returns a slice of map keys, skips nil maps.
func Values ¶
func Values[M ~map[K]V, K comparable, V any](m M) []V
Values returns a slice of map values, skips nil maps.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.