package
5.30.0
Repository: https://github.com/go-playground/pkg.git
Documentation: pkg.go.dev

# Functions

Filter filters out the elements specified by the function.
Map maps a slice of []T -> []U using the map function.
Reduce reduces the elements to a single one, by repeatedly applying a reducing function.
Retain retains only the elements specified by the function.
Reverse reverses the slice contents.
Sort sorts the sliceWrapper x given the provided less function.
SortStable sorts the sliceWrapper x using the provided less function, keeping equal elements in their original order.