table

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuickTable

func QuickTable(headers []string, rows [][]string) error

Types

type Table

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

func New

func New() *Table

func NewWithWriter

func NewWithWriter(w io.Writer) *Table

func (*Table) AddRow

func (t *Table) AddRow(values ...string) *Table

func (*Table) AddRows

func (t *Table) AddRows(rows [][]string) *Table

func (*Table) Render

func (t *Table) Render() error

func (*Table) SetHeaders

func (t *Table) SetHeaders(headers ...string) *Table

Jump to

Keyboard shortcuts

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