Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color interface { Black(format string, a ...interface{}) string Red(format string, a ...interface{}) string Green(format string, a ...interface{}) string Yellow(format string, a ...interface{}) string Blue(format string, a ...interface{}) string Magenta(format string, a ...interface{}) string Cyan(format string, a ...interface{}) string White(format string, a ...interface{}) string DefaultColor(format string, a ...interface{}) string Enabled() bool }
func NewColor ¶
func NewColor(enableColor EnableColor) Color
type EnableColor ¶
type EnableColor string
const ( ColorAlways EnableColor = "always" ColorNever EnableColor = "never" ColorAuto EnableColor = "auto" )
Click to show internal directories.
Click to hide internal directories.