package
0.0.0-20250107152505-2809300c68ba
Repository: https://github.com/triumphpc/go-study.git
Documentation: pkg.go.dev

# Functions

Filter filters values from a slice using a filter function.
Includes - given a slice of type T and a value of type T, determines whether the value is contained by the slice.
Map turns a []T1 to a []T2 using a mapping function.
Merge - receives slices of type T and merges them into a single slice of type T.
Reduce reduces a []T1 to a single value using a reduction function.
// Sort - sorts given a slice of any orderable type T The constraints.Ordered constraint in the Sort() function guarantees that the function can sort values of any type supporting the operators <, <=, >=, >.