package
0.18.1
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

Group returns a new non-nil map containing the elements of s grouped by the keys returned from the key func.
KeySlice returns the keys of the map M, like slices.Collect(maps.Keys(m)).
SameKeys reports whether x and y have equal sets of keys.
Sorted returns an iterator over the entries of m in key order.
SortedFunc returns an iterator over the entries of m in the key order determined by cmp.
ValueSlice returns the values of the map M, like slices.Collect(maps.Values(m)).