Documentation ¶
Index ¶
- Variables
- func BackgroundHiOption(name string) color.Attribute
- func BackgroundOption(name string) color.Attribute
- func BaseOption(name string) color.Attribute
- func Black(msg string, arg ...any)
- func BlackPrint(msg string, arg ...any)
- func BlackString(msg string, arg ...any) string
- func Blackln(msg string, arg ...any)
- func Blue(msg string, arg ...any)
- func BluePrint(msg string, arg ...any)
- func BlueString(msg string, arg ...any) string
- func Blueln(msg string, arg ...any)
- func Cyan(msg string, arg ...any)
- func CyanPrint(msg string, arg ...any)
- func CyanString(msg string, arg ...any) string
- func Cyanln(msg string, arg ...any)
- func ForegroundHiOption(name string) color.Attribute
- func ForegroundOption(name string) color.Attribute
- func FormatTrim(msg string) string
- func Green(msg string, arg ...any)
- func GreenPrint(msg string, arg ...any)
- func GreenString(msg string, arg ...any) string
- func Greenln(msg string, arg ...any)
- func HiBlack(format string, arg ...any)
- func HiBlackString(format string, arg ...any) string
- func HiBlue(format string, arg ...any)
- func HiBlueString(format string, arg ...any) string
- func HiCyan(format string, arg ...any)
- func HiCyanString(format string, arg ...any) string
- func HiGreen(format string, arg ...any)
- func HiGreenString(format string, arg ...any) string
- func HiMagenta(format string, arg ...any)
- func HiMagentaString(format string, arg ...any) string
- func HiRed(format string, arg ...any)
- func HiRedString(format string, arg ...any) string
- func HiWhite(format string, arg ...any)
- func HiWhiteString(format string, arg ...any) string
- func HiYellow(format string, arg ...any)
- func HiYellowString(format string, arg ...any) string
- func Magenta(msg string, arg ...any)
- func MagentaPrint(msg string, arg ...any)
- func MagentaString(msg string, arg ...any) string
- func Magentaln(msg string, arg ...any)
- func New(value ...color.Attribute) *color.Color
- func NewWithOption(value ...color.Attribute) *color.Color
- func Raw(msg string, arg ...any)
- func Rawln(msg string, arg ...any)
- func Red(msg string, arg ...any)
- func RedPrint(msg string, arg ...any)
- func RedString(msg string, arg ...any) string
- func Redln(msg string, arg ...any)
- func ShowMessage(colorname string, msg string, arg ...any)
- func ShowMessageln(colorname string, msg string, arg ...any)
- func White(msg string, arg ...any)
- func WhitePrint(msg string, arg ...any)
- func WhiteString(msg string, arg ...any) string
- func Whiteln(msg string, arg ...any)
- func Yellow(msg string, arg ...any)
- func YellowPrint(msg string, arg ...any)
- func YellowString(msg string, arg ...any) string
- func Yellowln(msg string, arg ...any)
- type ColorFunc
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BackgroundHiOption ¶
背景高亮色,可用颜色 black | red | green | yellow | blue | magenta | cyan | white
func BackgroundOption ¶
背景色,可用颜色 black | red | green | yellow | blue | magenta | cyan | white
func BaseOption ¶
基础设置,可用参数 reset | bold | faint | italic | underline blinkSlow | blinkRapid | reverseVideo | concealed | crossedOut
func BlackPrint ¶
func BlackString ¶
func BlueString ¶
func CyanString ¶
func ForegroundHiOption ¶
前景高亮色,可用颜色 black | red | green | yellow | blue | magenta | cyan | white
func ForegroundOption ¶
前景色,可用颜色 black | red | green | yellow | blue | magenta | cyan | white
func GreenPrint ¶
func GreenString ¶
func HiBlackString ¶
func HiBlueString ¶
func HiCyanString ¶
func HiGreenString ¶
func HiMagentaString ¶
func HiRedString ¶
func HiWhiteString ¶
func HiYellowString ¶
func MagentaPrint ¶
func MagentaString ¶
func ShowMessage ¶
func ShowMessageln ¶
func WhitePrint ¶
func WhiteString ¶
func YellowPrint ¶
func YellowString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.