formatter

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Human = false

Human tells if the default formatting strategy should be human or machine friendly

Functions

This section is empty.

Types

type TabWriter

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

TabWriter for formatting text

func NewTabWriter

func NewTabWriter(output io.Writer) *TabWriter

NewTabWriter creates a TabWriter

func (*TabWriter) Flush

func (t *TabWriter) Flush() error

Flush the TabWriter

func (*TabWriter) Init

func (t *TabWriter) Init(output io.Writer)

Init TabWriter

func (*TabWriter) Write

func (t *TabWriter) Write(buf []byte) (n int, err error)

Write content

Jump to

Keyboard shortcuts

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