Manipulate slices
Package slice
provides slice manipulation functions using generics. Functions that rely on comparing or ordering items in a slice operate on slices of any ordered type. Other slice manipulation functions work on any type.
$ go get github.com/gammazero/slice