Slices provides functional operations on Go slices using Go 1.18 type parameters.
- Make sure your local
go.moddeclaresgo 1.18 - Go 1.18 not being relaesed yet, I suggest using the wrapper gotip:
The gotip command compiles and runs the go command from the development tree.
Assuming the above prerequisites are fulfilled:
gotip get github.com/drykit-go/slicesMapFilterReduceApplyApplyUntilKeysOfValuesOf
See unit tests for some usage examples.