commit | b671e797dbe7348f70a79650719e17e9b6d833a8 | [log] [tgz] |
---|---|---|
author | M. J. Fromberger <michael.j.fromberger@gmail.com> | Thu Nov 11 08:39:07 2021 -0800 |
committer | M. J. Fromberger <michael.j.fromberger@gmail.com> | Thu Nov 11 08:39:07 2021 -0800 |
tree | 2791799f160d8bbd8c82c5ad5d814b56bf97012c | |
parent | e0733e63c364d8e0e273d2a88925a8acbb645014 [diff] |
Use the "embed" package instead of staticfile.
http://godoc.org/bitbucket.org/creachadair/stringset
The stringset
package implements a lightweight set-of-strings type based around Go's built-in map type.
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 .