Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StripWriter ¶
StripWriter strips all color codes.
Example ¶
strip := &StripWriter{Writer: os.Stdout} fmt.Fprint(strip, "before \033[31minside\u001b[0m after")
Output: before inside after
Click to show internal directories.
Click to hide internal directories.