commit | e0733e63c364d8e0e273d2a88925a8acbb645014 | [log] [tgz] |
---|---|---|
author | M. J. Fromberger <michael.j.fromberger@gmail.com> | Wed Nov 10 17:38:57 2021 -0800 |
committer | M. J. Fromberger <michael.j.fromberger@gmail.com> | Wed Nov 10 17:38:57 2021 -0800 |
tree | ee9d8f54e4f5819664b81dbc0254bbafd4f0004a | |
parent | b5d89bd325e2dac1716599ef2ae4d4d7e4995e70 [diff] |
Remove uses of deprecated io/ioutil package.
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 .