package colorable
import "github.com/mattn/go-colorable"
Index ¶
- func NewColorable(file *os.File) io.Writer
- func NewColorableStderr() io.Writer
- func NewColorableStdout() io.Writer
- func NewNonColorable(w io.Writer) io.Writer
- type NonColorable
Functions ¶
func NewColorable ¶
func NewColorableStderr ¶
func NewColorableStdout ¶
func NewNonColorable ¶
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 ¶
Path | Synopsis |
---|---|
_example |
- Version
- v0.0.2
- Published
- May 2, 2016
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 11 hours ago –
Tools for package owners.