Documentation ¶
Index ¶
- Variables
- func Black(text string) string
- func Blink(text string) string
- func Blue(text string) string
- func Bold(text string) string
- func Cyan(text string) string
- func DarkGrey(text string) string
- func Green(text string) string
- func Invert(text string) string
- func Italic(text string) string
- func Magenta(text string) string
- func Red(text string) string
- func Sort(items []string)
- func Strip(text string) string
- func Underline(text string) string
- func White(text string) string
- func Yellow(text string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var BlackCode string = esc + "30m"
View Source
var BlinkCode string = esc + "5m"
View Source
var BlueCode string = esc + "34m"
View Source
var BoldCode string = esc + "1m"
View Source
var CodeByName = map[string]string{ "reset": ResetCode, "bold": BoldCode, "italic": ItalicCode, "blink": BlinkCode, "invert": InvertCode, "black": BlackCode, "red": RedCode, "green": GreenCode, "yellow": YellowCode, "blue": BlueCode, "magenta": MagentaCode, "cyan": CyanCode, "white": WhiteCode, "darkgrey": DarkGreyCode, }
View Source
var CyanCode string = esc + "36m"
View Source
var DarkGreyCode string = BoldCode + BlackCode
View Source
var GreenCode string = esc + "32m"
View Source
var InvertCode string = esc + "7m"
View Source
var ItalicCode string = esc + "3m"
View Source
var MagentaCode string = esc + "35m"
View Source
var RedCode string = esc + "31m"
View Source
var ResetCode string = esc + "0m"
View Source
var UnderlineCode string = esc + "4m"
View Source
var WhiteCode string = esc + "37m"
View Source
var YellowCode string = esc + "33m"
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.