Add creachadair-stringset module

Bug: 137798757
Test: build on build-tools branch
Change-Id: I42e82ffd2c753718ac32d26c40af7093ff2a67cb
1 file changed
tree: 7f4ac3af67b578b01e78d0faf31e5ad0154e49bf
  1. Android.bp
  2. LICENSE
  3. METADATA
  4. MODULE_LICENSE_BSD
  5. README.md
  6. bitbucket-pipelines.yml
  7. examples_test.go
  8. go.mod
  9. go.sum
  10. makeset/
  11. stringset.go
  12. stringset_test.go
README.md

stringset

http://godoc.org/bitbucket.org/creachadair/stringset

Go Report Card

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

Generating the Code

The stringset package is generated by the makeset program from source templates core.go.in (the main package source) and core_test.go.in (for the unit tests). If you need to modify the templates, edit those files and run:

go generate ./makeset

to update the static.go file. You can then re-generate the stringset package by running:

go run ./makeset -config makeset/stringset.toml -output .