Sets and Set operations in golang
Internally as simple as a map[T]struct{}
but with additional helper functions, operations like Union, Intersect, XOR, to/from Slices conversion, to/from JSON, etc...
and hiding the struct{}{}
etc...
Sets and Set operations in golang
Internally as simple as a map[T]struct{}
but with additional helper functions, operations like Union, Intersect, XOR, to/from Slices conversion, to/from JSON, etc...
and hiding the struct{}{}
etc...