Documentation ¶
Index ¶
- Constants
- 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 Red(msg string) string
- func SetColor(msg string, conf, bg, textColor 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 // 白色 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.