Documentation
¶
Overview ¶
Package color provides facility to make normal text into ansi-colored text so as to output on console.
Index ¶
- Constants
- func Blue(format string, a ...interface{}) string
- func Colorize(colors []string, format string, a ...interface{}) (s string)
- func Cyan(format string, a ...interface{}) string
- func Green(format string, a ...interface{}) string
- func Magenta(format string, a ...interface{}) string
- func Red(format string, a ...interface{}) string
- func Yellow(format string, a ...interface{}) string
Constants ¶
View Source
const ( Reset = "Reset" Bright = "Bright" Dim = "Dim" Underscore = "Underscore" Blink = "Blink" Reverse = "Reverse" Hidden = "Hidden" FgBlack = "FgBlack" FgRed = "FgRed" FgGreen = "FgGreen" FgYellow = "FgYellow" FgBlue = "FgBlue" FgMagenta = "FgMagenta" FgCyan = "FgCyan" FgWhite = "FgWhite" BgBlack = "BgBlack" BgRed = "BgRed" BgGreen = "BgGreen" BgYellow = "BgYellow" BgBlue = "BgBlue" BgMagenta = "BgMagenta" BgCyan = "BgCyan" BgWhite = "BgWhite" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.