Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Println prints in the default colour. Println = printlnInColor(nil) // PrintlnLog is used to print log messages for debugging. It prints in a faded colour. PrintlnLog = printlnInColor(color.New(color.FgBlack, color.Faint).PrintfFunc()) // PrintlnInfo is used to print standard output always visible to the user. It prints // in the default console colour. PrintlnInfo = printlnInColor(color.White) // PrintlnWarn is used to print warning messages and are highlighted in yellow. PrintlnWarn = printlnInColor(color.Yellow) // PrintlnError is used to print errors in red and indicate a fatal problem. PrintlnError = printlnInColor(color.Red) // Printlnf prints a formatted string in the default colour. Printlnf = printlnfInColor(nil) // PrintlnfLog is used to print a formatted string as a log message for debugging. // It prints in a faded colour. PrintlnfLog = printlnfInColor(color.New(color.FgBlack, color.Faint).PrintfFunc()) // PrintlnfInfo is used to print a formatted string as standard output always visible // to the user. It prints in the default console colour. PrintlnfInfo = printlnfInColor(color.White) // PrintlnfWarn is used to print a formatted string as a warning messages and are // highlighted in yellow. PrintlnfWarn = printlnfInColor(color.Yellow) // PrintlnfError is used to print error messages as formatted strings and indicate // a fatal problem. PrintlnfError = printlnfInColor(color.Red) // Println prints a formatted string in the default colour. Printf = printfInColor(nil) // PrintlnfLog is used to print a formatted string as a log message for debugging. // It prints in a faded colour. PrintfLog = printfInColor(color.New(color.FgBlack, color.Faint).PrintfFunc()) // PrintlnfInfo is used to print a formatted string as standard output always visible // to the user. It prints in the default console colour. PrintfInfo = printfInColor(color.White) // PrintlnfWarn is used to print a formatted string as a warning messages and are // highlighted in yellow. PrintfWarn = printfInColor(color.Yellow) // PrintlnfError is used to print error messages as formatted strings and indicate // a fatal problem. PrintfError = printfInColor(color.Red) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.