writer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

Writer represents tabbed writer

func New

func New(out io.Writer) *Writer

New instantiates a new writer object

func (*Writer) Flush

func (w *Writer) Flush() error

Flush flushes the buffered content to io

func (*Writer) WriteData

func (w *Writer) WriteData(vals ...interface{})

WriteData writes data to writer

func (*Writer) WriteHeader

func (w *Writer) WriteHeader(vals ...string)

WriteHeader writes header/struct field names

Jump to

Keyboard shortcuts

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