Skip to content
/ sets Public

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

License

Notifications You must be signed in to change notification settings

fortio/sets

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published