colorable

package
v0.0.0-...-73df0bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2018 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Types

type NonColorable

type NonColorable struct {
	// contains filtered or unexported fields
}

func (*NonColorable) Write

func (w *NonColorable) Write(data []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL