Documentation
¶
Index ¶
- Variables
- func Errorf(format string, a ...interface{})
- func Faillnf(format string, a ...interface{})
- func Infolnf(format string, a ...interface{})
- func Oklnf(format string, a ...interface{})
- func Passlnf(format string, a ...interface{})
- func Printf(format string, a ...interface{})
- func Warnlnf(format string, a ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HeaderWhite is function to generate a white header string HeaderWhite = color.New(color.BgHiWhite, color.FgHiBlack, color.Bold).SprintFunc() // HeaderGreen is function to generate a green header string HeaderGreen = color.New(color.BgHiGreen, color.FgHiWhite, color.Bold).SprintFunc() // HeaderYellow is function to generate a yellow header string HeaderYellow = color.New(color.BgHiYellow, color.FgHiWhite, color.Bold).SprintFunc() // HeaderRed is function to generate a red header string HeaderRed = color.New(color.BgHiRed, color.FgHiWhite, color.Bold).SprintFunc() // Green is function to generate a green string Green = color.New(color.FgHiGreen).SprintFunc() // Yellow is function to generate a yellow string Yellow = color.New(color.FgHiYellow).SprintFunc() // Red is function to generate a red string Red = color.New(color.FgHiRed).SprintFunc() )
Functions ¶
func Errorf ¶
func Errorf(format string, a ...interface{})
Errorf formats according to the format specifier and writes to the stderr that is all platform compatible
func Faillnf ¶
func Faillnf(format string, a ...interface{})
Faillnf writes to stderr a formated fail message with a newline
func Infolnf ¶
func Infolnf(format string, a ...interface{})
Infolnf writes to stdout a formated info message with a newline
func Oklnf ¶
func Oklnf(format string, a ...interface{})
Oklnf writes to stdout a formated ok message with a newline
func Passlnf ¶
func Passlnf(format string, a ...interface{})
Passlnf writes to stdout a formated pass message with a newline
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.