Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ColorAnswer = color.New(color.FgCyan).SprintFunc()
ColorAnswer returns a new function that returns answer-colorized (cyan) strings for the given arguments with fmt.Sprint().
var ColorBold = color.New(color.Bold).SprintFunc()
ColorBold returns a new function that returns bold-colorized (bold) strings for the given arguments with fmt.Sprint().
var ColorError = color.New(color.FgRed).SprintFunc()
ColorError returns a new function that returns error-colorized (red) strings for the given arguments with fmt.Sprint().
var ColorInfo = color.New(color.FgGreen).SprintFunc()
ColorInfo returns a new function that returns info-colorized (green) strings for the given arguments with fmt.Sprint().
var ColorStatus = color.New(color.FgBlue).SprintFunc()
ColorStatus returns a new function that returns status-colorized (blue) strings for the given arguments with fmt.Sprint().
var ColorWarning = color.New(color.FgYellow).SprintFunc()
ColorWarning returns a new function that returns warning-colorized (yellow) strings for the given arguments with fmt.Sprint().
Functions ¶
func ColorNameValues ¶
func ColorNameValues() []string
ColorNameValues returns all the color names sorted
Types ¶
This section is empty.