package
0.2.2
Repository: https://github.com/barelyhuman/go.git
Documentation: pkg.go.dev

# Functions

Chunk - create batches of an arbitrary typed slice into the given batch size.
PickField - pick the value of a particular field from a slice into it's own slice using the given picker function.
PickWithFunc get the key using a picker function exampleSlice := []pickFieldTestType{{value: "wake up"}, {value: "code"}, {value: "repeat"}} pickedSlices := slices.PickField(exampleSlice, slices.PickWithFunc( func(k pickFieldTestType) string { return k.value }, )).
PickWithKey when working with a single field, you can use this picker to get the values from the passed generic type.

# Type aliases

No description provided by the author