Populate from upstream-master, add mandatory files

Test: build on build-tools branch
Bug: 137798757
Change-Id: I19cbc3579f861519b5f53350df91c730c45fdc87
tree: 6989a259f6ea7965bbb55418c8ce004e2f3a92db
  1. LICENSE
  2. METADATA
  3. MODULE_LICENSE_BSD
  4. README.md
  5. bitbucket-pipelines.yml
  6. examples_test.go
  7. go.mod
  8. go.sum
  9. makeset/
  10. stringset.go
  11. 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 .