colorable - ActiveState ActiveGo 1.8
...

Package colorable

import "github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable"
Overview
Index

Overview ▾

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)