Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CreatePrintf is fmt.Printf with red as foreground color. CreatePrintf = func(format string, a ...interface{}) { conditionalPrintf(createPrintf, format, a...) } // DeletePrintf is fmt.Printf with green as foreground color. DeletePrintf = func(format string, a ...interface{}) { conditionalPrintf(deletePrintf, format, a...) } // UpdatePrintf is fmt.Printf with yellow as foreground color. UpdatePrintf = func(format string, a ...interface{}) { conditionalPrintf(updatePrintf, format, a...) } // CreatePrintln is fmt.Println with red as foreground color. CreatePrintln = func(a ...interface{}) { conditionalPrintln(createPrintln, a...) } // DeletePrintln is fmt.Println with green as foreground color. DeletePrintln = func(a ...interface{}) { conditionalPrintln(deletePrintln, a...) } // UpdatePrintln is fmt.Println with yellow as foreground color. UpdatePrintln = func(a ...interface{}) { conditionalPrintln(updatePrintln, a...) } BluePrintLn = func(a ...interface{}) { conditionalPrintln(bluePrintln, a...) } )
View Source
var ( // DisableOutput disables all output. DisableOutput bool )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.