package
0.0.12
Repository: https://github.com/m15t/gram.git
Documentation: pkg.go.dev

# Functions

Delete is a thread-safe function to delete the key-value pair with the specified key from the given map.
Filter is a thread-safe function that returns a new map containing only the elements in the input map m for which the specified function f is true.
Get is a thread-safe function to get a value by key k in a map m.
GetOK is a thread-safe function to get a value by key k in a map m.
Invert is a thread-safe function that returns a new map were keys and values are swapped.
Len is a thread-safe function to get the length of a map m.
Map is a thread-safe function that returns a new map that contains each of the elements of the input map m mutated by the specified function.
Reduce is a thread-safe function that applies the reducing function f to each element of the input map m, and returns the value of the last call to f.
Set is a thread-safe function to assign a value v to a key k in a map m.