table

package
v1.77.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 4 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 NewEmbeddedTable

func NewEmbeddedTable(buf *bytes.Buffer) *Table

func NewTable

func NewTable(fd *os.File) *Table

NewTable instantiate New tableWriter

func (*Table) AppendArgs

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

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

func (*Table) RemoveFrame

func (t *Table) RemoveFrame()

RemoveFrame remove all border and separator

func (*Table) Render

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