Documentation ¶
Overview ¶
Package rainbowprint provides primitives for colorized output on ANSI-compliant console.
Index ¶
Constants ¶
View Source
const ( // Never use ANSI codes Never = "never" // Always use ANSI codes Always = "always" // Auto detect terminal is a tty and can use ANSI codes Auto = "auto" )
Variables ¶
View Source
var (
NextColor = rainbowColor
)
Functions ¶
func SetANSIMode ¶
SetANSIMode configure formatter for colored output on ANSI-compliant console
Types ¶
Click to show internal directories.
Click to hide internal directories.