https://github.com/fortio/sets
Sets and Set operations in golang (ie map[T]struct{} but with helper/nicer names, hiding the struct{}{}...)
https://github.com/fortio/sets
Last synced: 4 months ago
JSON representation
Sets and Set operations in golang (ie map[T]struct{} but with helper/nicer names, hiding the struct{}{}...)
- Host: GitHub
- URL: https://github.com/fortio/sets
- Owner: fortio
- License: apache-2.0
- Created: 2023-02-21T02:00:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-06T20:43:35.000Z (6 months ago)
- Last Synced: 2025-04-06T21:25:28.829Z (6 months ago)
- Language: Go
- Size: 62.5 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pkg.go.dev/fortio.org/sets)
[](https://goreportcard.com/report/fortio.org/sets)
[](https://github.com/fortio/sets/releases/)
[](https://codecov.io/github/fortio/sets)# sets
Sets and Set operations in golangInternally 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