Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
func Copy[K comparable, V any](m map[K]V) map[K]V
func Keys ¶
func Keys[K comparable, V any](m map[K]V) (keys []K)
func Values ¶
func Values[K comparable, V any](m map[K]V) (values []V)
Types ¶
type Entry ¶
type Entry[K comparable, V any] struct { Key K Value V }
func Entries ¶
func Entries[K comparable, V any](m map[K]V) (entries []Entry[K, V])
Click to show internal directories.
Click to hide internal directories.