defines supported colors
const ( Black = Col(iota) Red Green Yellow Blue Magenta Cyan White )
defines text styling options
const ( TReset = Col(iota) TBold TFaint TItalic TUnderline TBlinkSlow TBlinkFast TNegative TConceal TCrossedOut )
Foreground text colors
const ( FgBlack = Col(iota + 30) FgRed FgGreen FgYellow FgBlue FgMagenta FgCyan FgWhite )
Background text colors
const ( BgBlack = Col(iota + 40) BgRed BgGreen BgYellow BgBlue BgMagenta BgCyan BgWhite )
func BgColor(str interface{}, col Col) string
BgColor adds the color code of col as background color to str and returns as string
func Bold(str interface{}) string
Bold surrounds str with the code for bold styled text
func Color(str interface{}, col Col) string
Color adds the color code of col as text color to str and returns as string
func Log(valuea ...interface{}) interface{}
Log prints red text via log package
func Set(str interface{}, Attribute ...Col) string
Set sets styling options on strings and stringable interfaces
func Underline(str interface{}) string
Underline surrounds str with the code for underlined text
Col defines supported colors
type Col int