logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

stringer - generates methods satisfying fmt.Stringer

Author

       This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian  project  (and
       may be used by others).

                                                   2015-07-24                                        STRINGER(1)

Description

       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".

Name

       stringer - generates methods satisfying fmt.Stringer

Options

       Run stringer -help for more details.

Synopsis

stringer

See Also