Bug: 145909127

Clone this repo:
  1. 580fe89 Add creachadair-stringset module by Sasha Smundak · 1 year, 1 month ago build-tools-release master
  2. 0bb095d Populate from upstream-master, add mandatory files by Sasha Smundak · 1 year, 1 month ago
  3. 5e28537 Initial empty repository by Inna Palant · 1 year, 2 months ago
  4. 7c6678a Update to staticfile v0.1.2, no functional changes. by M. J. Fromberger · 1 year, 6 months ago
  5. edbf996 Separate generator source into template files. by M. J. Fromberger · 1 year, 7 months ago



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 .