table

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table struct {
	*tablewriter.Table
}

Table wraps tableWriter.Table

func NewTable

func NewTable(fd *os.File) *Table

NewTable instantiate New tableWriter

func (*Table) AppendArgs added in v0.11.4

func (t *Table) AppendArgs(s ...string)

AppendArgs append all args in a line using table.Append()

func (*Table) RemoveFrame added in v0.11.4

func (t *Table) RemoveFrame()

RemoveFrame remove all border and separator

func (*Table) Render added in v0.10.1

func (t *Table) Render()

Render like the upstream one but better when empty

Jump to

Keyboard shortcuts

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