table

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

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

func NewCell

func NewCell(content string) Cell

func NewCellColor

func NewCellColor(content string, color *color.Color) Cell

type Printer added in v0.0.8

type Printer func(io.Writer, string, ...any) (int, error)

type Table

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

func New

func New(defaultWidths []uint64) *Table

func (*Table) Format

func (t *Table) Format(cells []Cell) string

Jump to

Keyboard shortcuts

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