package
0.6.0
Repository: https://github.com/go-board/std.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Collect collects [iter.Seq] into a map.
No description provided by the author
Entries returns all entry of a map as an [iter.Seq].
EntrySlice return entry slice of a map.
No description provided by the author
No description provided by the author
Filter keep those elements which match the given predicate function.
FilterMap keep those elements which match the given predicate function and map to new type elements.
ForEach iter over the map, and call the udf on each k-v pair.
Invert maps k-v to v-k, when key conflict, the back element will overwrite the previous one.
Keys return key's [iter.Seq] of a map.
KeySlice return key slice of a map.
Map call f on each k-v pair and maps to x-y pair into a new map.
No description provided by the author
No description provided by the author
MergeFunc merge many maps and solve conflict use an udf.
MergeKeep merge many maps and keep first value when conflict occurred.
MergeOverwrite merge many maps and keep last value when conflict occurred.
No description provided by the author
Values return value's [iter.Seq] of a map.
ValueSlice return value slice of a map.

# Structs

MapEntry persist k-v pair of a map.