package
3.6.1
Repository: https://github.com/bobg/go-generics.git
Documentation: pkg.go.dev

# Functions

Clear removes all entries from m, leaving it empty.
Clone returns a copy of m.
Copy copies all key/value pairs in src adding them to dst.
DeleteFunc deletes any key/value pairs from m for which del returns true.
Each calls a function on each key-value pair in the given map.
Eachx is the extended form of [Each].
Equal reports whether two maps contain the same key/value pairs.
EqualFunc is like Equal, but compares values using eq.
FromPairs produces a new map from an iterator of key-value pairs.
Invert inverts the key-value pairs in the given map, producing a new map with the values as keys and the keys as values.
InvertMulti inverts the key-value pairs in the map.
Keys returns the keys of the map m.
Values returns the values of the map m.