Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Codes = map[string]int{
"None": 49,
"Black": 40,
"Red": 41,
"Green": 42,
"Yellow": 43,
"Blue": 44,
"Magenta": 45,
"Cyan": 46,
"LightGray": 47,
"DarkGray": 100,
"LightRed": 101,
"LightGreen": 102,
"LightYellow": 103,
"LightBlue": 104,
"LightMagenta": 105,
"LightCyan": 106,
"White": 107,
}
Codes maps the name of a color to its escape code equivalent
View Source
var Names = []string{
"None",
"Black",
"DarkGray",
"LightGray",
"White",
"Blue",
"LightBlue",
"Cyan",
"LightCyan",
"Yellow",
"LightYellow",
"Green",
"LightGreen",
"Magenta",
"LightMagenta",
"Red",
"LightRed",
}
Names is a list of the supported colors
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.