Documentation ¶
Index ¶
- Constants
- func BgBlack(msg string) string
- func BgBlue(msg string) string
- func BgCyan(msg string) string
- func BgGreen(msg string) string
- func BgMagenta(msg string) string
- func BgRed(msg string) string
- func BgWhite(msg string) string
- func BgYellow(msg string) string
- func Black(msg string) string
- func Blue(msg string) string
- func Cyan(msg string) string
- func Green(msg string) string
- func Magenta(msg string) string
- func PrintColor()
- func Red(msg string) string
- func SetColor(msg string, conf, bg, text int) string
- func White(msg string) string
- func Yellow(msg string) string
Constants ¶
View Source
const ( TextBlack = iota + 30 TextRed TextGreen TextYellow TextBlue TextMagenta TextCyan TextWhite )
View Source
const ( BackgroundBlack = iota + 40 BackgroundRed BackgroundGreen BackgroundYellow BackgroundBlue BackgroundMagenta BackgroundCyan BackgroundWhite )
Variables ¶
This section is empty.
Functions ¶
func PrintColor ¶
func PrintColor()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.