stringer1
Generates methods satisfying fmt.stringer
Usage
stringer
Overview
Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. Given the name of a (signed or unsigned) integer type T that has constants defined, stringer will create a new self-contained Go source file implementing "func (t T) String() string".
Options
Run stringer -help for more details.