Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Black ¶
func Black(s interface{}) string
Black will accept an interface and return a colorized black string.
func Colored ¶
Colored creates and initializes a new ansiColorWriter using io.Writer w as its initial contents. In the console of Windows, which change the foreground and background colors of the text by the escape sequence. In the console of other systems, which writes to w all text.
func Cyan ¶
func Cyan(s interface{}) string
Cyan will accept an interface and return a colorized cyan string.
func Green ¶
func Green(s interface{}) string
Green will accept an interface and return a colorized green string.
func Red ¶
func Red(s interface{}) string
Red will accept an interface and return a colorized red string.
func Uncolored ¶
Uncolored will accept and io.Writer and return a new io.Writer that won't include colors.
Types ¶
Click to show internal directories.
Click to hide internal directories.