Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnsiEscape ¶
func AnsiEscape(c ...interface{}) (out string)
AnsiEscape accepts ANSI escape codes and strings to form escape sequences. For example, to create a string with a colorized prefix,
AnsiEscape(BOLD, GREEN, "[DEBUG] ", OFF, "Here is the debug output")
and a nicely escaped string for terminal output will be returned.
func AnsiEscapeS ¶
AnsiEscapeS is like AnsiEscape, but takes only one escape code, and wrap the given text using that code and OFF
Types ¶
Click to show internal directories.
Click to hide internal directories.
