...
Package colorable
Overview ▹
Index ▹
func NewColorable ¶
func NewColorable(file *os.File) io.Writer
func NewColorableStderr ¶
func NewColorableStderr() io.Writer
func NewColorableStdout ¶
func NewColorableStdout() io.Writer
func NewNonColorable ¶
func NewNonColorable(w io.Writer) io.Writer
type NonColorable ¶
type NonColorable struct {
// contains filtered or unexported fields
}
func (*NonColorable) Write ¶
func (w *NonColorable) Write(data []byte) (n int, err error)