https://github.com/scylladb/go-set
At Scylla we are long time users of https://github.com/fatih/set and after it’s discontinuation we wanted to still use it. We therefore created an enhanced clone with a typesafe API and high performance.
We like generics a lot so we used the Google tool “go_generics” from the gVisor [1] code base to generate the concrete implementations. Most of the simple language builtin types are supported.
If you enjoy go-set come work with us, we are hiring Go Developers. Learn more at https://www.scylladb.com/company/careers/
[1] https://github.com/google/gvisor/tree/master/tools/go_generics