tablewriter

package module
v0.0.0-...-c31ca4f Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const (
	AlignLeft = 1 + iota
	AlignRight
	AlignCenter
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TableWriter

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

func New

func New(output io.Writer) *TableWriter

func (*TableWriter) Add

func (w *TableWriter) Add(row ...string)

func (*TableWriter) Flush

func (w *TableWriter) Flush()

func (*TableWriter) Header

func (w *TableWriter) Header(header ...string)

func (*TableWriter) SetAligns

func (w *TableWriter) SetAligns(aligns ...int)

Jump to

Keyboard shortcuts

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