hoff icon indicating copy to clipboard operation
hoff copied to clipboard

Higher Order Functions (and Friends) using Go 1.18+ Generics

hoff: Higher Order Functions (and Friends) Go Reference

Golang 1.18+ implementations of common methods/data structures using Go Generics

Requirements

  • Go 1.18 or newer (must support Generics)

In Development

Please note: this package is still under development and may change in the future. We will attempt to maintain as much backwards compatibility as possible for future changes, but this is still a v0.x release and things might change.

Mash that Star button and OBLITERATE the Watch button to follow our changes.

Running tests/benchmarks

Run the tests and benchmarks for the project using this command:

go test -v -bench=. -race ./...

CI/CD and Github Actions

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.

Contributing

Contributors must sign the Shopify CLA before your PR can be accepted/merged.

Authors

License

hoff is released under the MIT License.