/sets

Sets and Set operations in golang (ie map[T]struct{} but with helper/nicer names, hiding the struct{}{}...)

Primary LanguageGoApache License 2.0Apache-2.0

Go Reference Go Report Card GitHub Release Coverage

sets

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...

See https://pkg.go.dev/fortio.org/sets