Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
Formatter helps you write with indentation, and can wrap text as needed.
func (Formatter) Indent ¶
Indent creates a new Formatter that will indent the code by that much more.
func (*Formatter) Write ¶
Write writes a string with the indentation set for the Formatter. This is not wrapping text.
func (*Formatter) WriteWrapped ¶
WriteWrapped writes a string with the indentation set for the Formatter, and wraps as needed.
Click to show internal directories.
Click to hide internal directories.