formatter

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Write(io.Writer, *Table) error
}

type Table

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

func NewTable

func NewTable(header []string) *Table

func (*Table) AddRow

func (t *Table) AddRow(data []string)

func (*Table) Columns

func (t *Table) Columns() []string

func (*Table) MarshalJSON

func (t *Table) MarshalJSON() ([]byte, error)

func (*Table) Rows

func (t *Table) Rows() [][]string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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