Documentation ¶
Index ¶
- Constants
- Variables
- func F(format string, args ...interface{}) string
- func Fi(indentation uint, format string, args ...interface{}) string
- func Fiw(indentation uint, maxWidth uint, format string, args ...interface{}) string
- type ColorMode
- type Formatter
- func (f Formatter) CycleJoin(elements []string, joiner string, cycle []string) string
- func (f Formatter) F(format string, args ...interface{}) string
- func (f Formatter) Fi(indentation uint, format string, args ...interface{}) string
- func (f Formatter) Fiw(indentation uint, maxWidth uint, format string, args ...interface{}) string
Constants ¶
View Source
const COLS = 80
Variables ¶
View Source
var ColorableStdErr = newColorable(os.Stderr)
View Source
var ColorableStdOut = newColorable(os.Stdout)
ColorableStdOut and ColorableStdErr enable color output support on Windows
View Source
var SingletonFormatter = New(ColorModeTerminal)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.