Documentation
¶
Index ¶
- Variables
- func Code(attr Color, args ...Color) string
- func CodeFunc(attr Color, args ...Color) func() string
- func Fail(msg string) string
- func HasColors(str string) bool
- func Neutral(msg string) string
- func RmColors(str string) string
- func Success(msg string) string
- func Warn(msg string) string
- type Color
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CodeSuccess = CodeFunc(Green) CodeFail = CodeFunc(Red, Bold) CodeNeutral = CodeFunc(Cyan) CodeWarn = CodeFunc(Yellow) CodeReset = CodeFunc(Reset) )
View Source
var NoColor bool
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.