kitt
provides some handy data structures and "building blocks" for use with Go 1.18+ generics.
- Set
- Queue/BoundedQueue
main.go contains a comprehensive example of how the set
and queue
packages work.
Compile and run the main.go file in the project root in one easy command:
go run ./main.go
- Go 1.18 or newer (must support Generics)
Run the tests and benchmarks for the project using this command:
go test -v -race -bench=. ./...
This project is configured to use GH Actions to automatically test/benchmark the project whenever pushes occur. See the .github/workflows folder for all the details.
Contributors must sign the Shopify CLA before your PR can be accepted/merged.
kitt is released under the MIT License.