Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TitleStyle can be used to format a string; suitable for titles TitleStyle = ansi.ColorFunc("default+bh") // PrimaryTextStyle can be used to format a string; suitable for emphasis PrimaryTextStyle = ansi.ColorFunc("blue+b") // CTATextStyle can be used to format a string; important text CTATextStyle = ansi.ColorFunc("red+b:white+h") // Call To Action // ErrorTextStyle can be used to format a string; important text ErrorTextStyle = ansi.ColorFunc("red+b") // WarningStyle is used to format strings to indicate a warning WarningStyle = ansi.ColorFunc("yellow+bh") // SuccessStyle is used to format strings to indicate a successfull operation SuccessStyle = ansi.ColorFunc("green+bh") )
Functions ¶
func BooleanStyle ¶
BooleanStyle colors instances of 'true' & 'false' blue & red respectively
func BooleanStyleP ¶
BooleanStyleP is like BooleanStyle except takes a boolean as it's argument
func FormatHookLists ¶
FormatHookLists formats the Check Hook struct into a string mapping
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.