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 the unordered keys of the given map. This is the same as the experimental maps.Keys function. As of writing, that isn't in the standard library version yet. Once it is, remove this and switch to that.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.