go-perf: github.com/aclements/go-perf/cmd/bitstringer Files

Command bitstringer

Command bitstringer generates String methods for bit-mask types.

bitstringer is like the stringer tool, but for bit-mask types. See go doc stringer for details.

bitstringer adds one flag, -strip, which specifies a prefix to strip from stringified-constants. For bit-mask types in particular, this can make the string representation much shorter, at the expense of not being unambiguous and syntactically valid Go code.

Package Files

main.go

Package main imports 14 packages (graph). Updated 2016-07-22. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).