Documentation
¶
Index ¶
Constants ¶
View Source
const ( Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Cyan = "\033[36m" White = "\033[37m" Reset = "\033[0m" Bold = "\033[1m" )
ANSI color codes
Variables ¶
View Source
var Version = "1.0.6"
Version is set during build or defaults to dev
Functions ¶
func PrintError ¶
func PrintError(format string, args ...interface{})
PrintError prints an error message in red
func PrintInfo ¶
func PrintInfo(format string, args ...interface{})
PrintInfo prints an info message in cyan
func PrintSuccess ¶
func PrintSuccess(format string, args ...interface{})
PrintSuccess prints a success message in green
func PrintWarning ¶
func PrintWarning(format string, args ...interface{})
PrintWarning prints a warning message in yellow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.