writer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorWriter

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

func New

func New(w io.Writer) *ColorWriter

func (*ColorWriter) SetTTY

func (w *ColorWriter) SetTTY(isTTY func() bool)

func (*ColorWriter) Write

func (w *ColorWriter) Write(p []byte) (n int, err error)

func (*ColorWriter) Writer

func (w *ColorWriter) Writer() io.Writer

Jump to

Keyboard shortcuts

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