9 _ "github.com/mattn/go-isatty"
12 // NewColorable return new instance of Writer which handle escape sequence.
13 func NewColorable(file *os.File) io.Writer {
15 panic("nil passed instead of *os.File to NewColorable()")
21 // NewColorableStdout return new instance of Writer which handle escape sequence for stdout.
22 func NewColorableStdout() io.Writer {
26 // NewColorableStderr return new instance of Writer which handle escape sequence for stderr.
27 func NewColorableStderr() io.Writer {