Documentation ¶
Index ¶
- Constants
- func Error(i ...interface{}) string
- func Faint(i ...interface{}) string
- func Info(i ...interface{}) string
- func Infof(format string, i ...interface{}) string
- func Mnemonic(i ...interface{}) string
- func Modified(i ...interface{}) string
- func Name(i ...interface{}) string
- func SprintFunc(color string) func(i ...interface{}) string
- func Success(i ...interface{}) string
Constants ¶
View Source
const ( Yellow = "#c4a000" Red = "#ef2929" Green = "#4e9a06" Magenta = "#75507b" Cyan = "#34e2e2" White = "#FFFFFF" HiBlue = "#729FCF" )
Variables ¶
This section is empty.
Functions ¶
func Faint ¶
func Faint(i ...interface{}) string
Faint styles the text using a dimmer shade for the foreground color.
func SprintFunc ¶
SprintFunc returns a function to apply a foreground color to any number of texts. The returned function receives strings as arguments with the text that should be colorized. Color specifies a color by hex or ANSI value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.