sets
1 article
-
Represent and transform data safely
How to Use Sets in Go with mapset and Map-Based Sets
Use map[T]struct{} for lightweight membership checks, or mapset v2 when you need typed set operations and a concurrency-oriented implementation.

