Remove the code-generation plumbing. (#1)

Now that Go has added support for parametric types, there is no longer any
practical reason to have the code generation plumbing here.

- Bump the Go toolchain base to 1.18.
- Remove the code generation script.
- Clean up generator artifacts in the code.
- Split the tests into a separate package.

This change does not modify the API of the core stringset package.
11 files changed
tree: 0b5246d62d9f235b8203e570ca4af724f4d81fef
  1. bitbucket-pipelines.yml
  2. examples_test.go
  3. go.mod
  4. go.sum
  7. stringset.go
  8. stringset_test.go


Go Report Card

The stringset package implements a lightweight set-of-strings type based around Go's built-in map type.