bitstringer

command
v0.0.0-...-89932f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2016 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL