package
0.0.0-20240815180112-8e7861bdd6b5
Repository: https://github.com/akitasoftware/go-utils.git
Documentation: pkg.go.dev
# Functions
Applies the predicate f to each element of slice in order, and returns those elements that satisfy f.
Like Filter, but f also takes in the element's index.
Like FilterWithErr, but f also takes in the element's index.
Applies f to each element of slice in order, removes any None results, and returns the rest.
Like FilterMap, but f also takes in the element's index.
Like FilterMapWithErr, but f also takes in the element's index.
Applies f to each element of slice in order, removes any None results, and returns the rest.
Applies the predicate f to each element of slice in order, and returns those elements that satisfy f.
Apply f to each element of slice in order, returning the results.
Like Map, but f also takes in the element's index.
Like MapWithErr, but f also takes in the element's index.
Apply f to each element of slice in order, returning the results.
Returns a new slice with elements from s in reverse order.