An experimental Go package that defines various methods for a set implemented with Go generics.
See the examples.
- golang.org/x/exp/slices
go-set
may be a better option if you don't find functions you want in this packages.
- k8s.io/apimachinery/pkg/util/sets
go-set
may be a better option if you prefer to use generics.