table

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 5 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 {
	// contains filtered or unexported fields
}

func NewTable

func NewTable(name string, columnNames ...string) (t Table, err error)

func (*Table) AddValues

func (t *Table) AddValues(vals ...string) error

func (*Table) Fprint

func (t *Table) Fprint(w io.Writer)

func (*Table) FprintWidth added in v1.0.3

func (t *Table) FprintWidth(w io.Writer, width int)

func (*Table) OutputStrings

func (t *Table) OutputStrings() (output []string)

func (*Table) Print

func (t *Table) Print()

Jump to

Keyboard shortcuts

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