go-colorable – github.com/mattn/go-colorable Index | Files | Directories

package colorable

import "github.com/mattn/go-colorable"

Index

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)

Source Files

colorable_others.go noncolorable.go

Directories

PathSynopsis
_example
Version
v0.0.2
Published
May 2, 2016
Platform
darwin/amd64
Imports
4 packages
Last checked
now

Tools for package owners.