| 1 |
.\" Hey, EMACS: -*- nroff -*- |
| 2 |
.de Vb \" Begin verbatim text |
| 3 |
.ft CW |
| 4 |
.nf |
| 5 |
.ne \\$1 |
| 6 |
.. |
| 7 |
.de Ve \" End verbatim text |
| 8 |
.ft R |
| 9 |
.fi |
| 10 |
.. |
| 11 |
.TH STRINGER 1 "2015-07-24" |
| 12 |
.\" Please adjust this date whenever revising the manpage. |
| 13 |
.SH NAME |
| 14 |
stringer \- generates methods satisfying fmt.Stringer |
| 15 |
.SH SYNOPSIS |
| 16 |
.B stringer |
| 17 |
.SH DESCRIPTION |
| 18 |
Stringer is a tool to automate the creation of methods that satisfy the |
| 19 |
fmt.Stringer interface. Given the name of a (signed or unsigned) integer type T |
| 20 |
that has constants defined, stringer will create a new self-contained Go source |
| 21 |
file implementing "func (t T) String() string". |
| 22 |
|
| 23 |
.SH OPTIONS |
| 24 |
|
| 25 |
Run stringer \-help for more details. |
| 26 |
|
| 27 |
.SH AUTHOR |
| 28 |
.PP |
| 29 |
This manual page was written by Michael Stapelberg <[email protected]>, |
| 30 |
for the Debian project (and may be used by others). |