Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatPrinter ¶
type FormatPrinter struct {
// contains filtered or unexported fields
}
FormatPrinter is a simple wrapper that implements the Stringer interface by printing an arbitrary object with a given format specifier/verb.
func Format ¶
func Format(verb string, item interface{}) FormatPrinter
func (FormatPrinter) String ¶
func (v FormatPrinter) String() string
Click to show internal directories.
Click to hide internal directories.