Documentation ¶
Index ¶
- Constants
- func PrintfError(text string, args ...interface{}) (int, error)
- func PrintfOK(text string, args ...interface{}) (int, error)
- func PrintfWarning(text string, args ...interface{}) (int, error)
- func PrintflnStatus(text, color, status string, args ...interface{}) (int, error)
- func PrintflnStatusError(text, reason string, args ...interface{}) (int, error)
- func PrintflnStatusOK(text string, args ...interface{}) (int, error)
Constants ¶
View Source
const ( PREFIX_CODE = "\033[" RESET = PREFIX_CODE + "0m" // colors RED = PREFIX_CODE + "31m" GREEN = PREFIX_CODE + "32m" ORANGE = PREFIX_CODE + "33m" // effects BOLD = PREFIX_CODE + "1m" )
Variables ¶
This section is empty.
Functions ¶
func PrintfError ¶
func PrintfWarning ¶
func PrintflnStatus ¶
func PrintflnStatusError ¶
func PrintflnStatusOK ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.