package
0.0.0-20250204102022-b77c1431ca83
Repository: https://github.com/ngoctd314/common.git
Documentation: pkg.go.dev

# Functions

Filter iterates over elements of collection, returning an array of all elements predicate returns truthy for.
FilterMap returns a slice which obtained after both filtering and mapping using the given callback function.
Map manipulates a slice and transforms it to a slice of another type.
Reduce reduces collection to a value which is the accumulated result of running each element in collection through accumulator, where each successive invocation is supplied the return value of the previous.