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