Documentation ¶
Index ¶
- Variables
- func PrettyPrint(out io.Writer, msg string, a ...interface{})
- func PrettyPrintErr(out io.Writer, msg string, a ...interface{})
- func PrettyPrintErrorIgnored(out io.Writer, msg string, a ...interface{})
- func PrettyPrintOk(out io.Writer, msg string, a ...interface{})
- func PrettyPrintSkipped(out io.Writer, msg string, a ...interface{})
- func PrettyPrintUnreachable(out io.Writer, msg string, a ...interface{})
- func PrettyPrintWarn(out io.Writer, msg string, a ...interface{})
- func PrintColor(out io.Writer, clr *color.Color, msg string, a ...interface{})
- func PrintError(out io.Writer)
- func PrintHeader(out io.Writer, msg string)
- func PrintOk(out io.Writer)
- func PrintOkln(out io.Writer)
- func PrintSkipped(out io.Writer)
- func PrintWarn(out io.Writer)
Constants ¶
This section is empty.
Variables ¶
View Source
var Blue = color.New(color.FgCyan)
View Source
var Green = color.New(color.FgGreen)
View Source
var Red = color.New(color.FgRed)
Functions ¶
func PrettyPrint ¶
PrettyPrint no type will be displayed, used for just single line printing
func PrettyPrintErr ¶
PrettyPrintErr [ERROR](Red) with formatted string
func PrettyPrintErrorIgnored ¶
PrettyPrintErrorIgnored [ERROR IGNORED](Red) with formatted string
func PrettyPrintOk ¶
PrettyPrintOk [OK](Green) with formatted string
func PrettyPrintSkipped ¶
PrettyPrintSkipped [SKIPPED](blue) with formatted string
func PrettyPrintUnreachable ¶
PrettyPrintUnreachable [UNREACHABLE](Red) with formatted string
func PrettyPrintWarn ¶
PrettyPrintWarn [WARNING](Orange) with formatted string
func PrintColor ¶
PrintColor prints text in color
func PrintError ¶
PrintError print whole message in error(Red) format
func PrintHeader ¶
PrintHeader will print header with predifined width
func PrintSkipped ¶
PrintSkipped print whole message in green(Red) format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.