Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // InfoPrefix should be used, when any kind of information is shown to the user, which is not part of the modules result InfoPrefix = color.SHiMagenta("[info] ") // WarningPrefix should be used, when a warning is displayed to the user WarningPrefix = color.SYellow("[warning] ") // ErrorPrefix should be used, when the module fails at something, but keeps running. // If the error is fatal, use say.Fatal ErrorPrefix = color.SHiRed("[error] ") // SuccessPrefix should be used, when something succeeded. SuccessPrefix = color.SGreen("[success] ") )
Functions ¶
func Fatal ¶ added in v1.14.0
func Fatal(text ...interface{})
Fatal outputs formatted text to the terminal.
func ProgressBar ¶ added in v1.21.0
func ProgressBar(totalSteps int) *progressbar.ProgressBar
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.