table

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 1 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() *Table

NewTable creates a new Table instance

func (*Table) AddRow

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

AddRow adds a row to the table

func (*Table) Print

func (t *Table) Print()

Print prints the table to stdout

func (*Table) SetHeaders

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

SetHeaders sets the headers for the table

Jump to

Keyboard shortcuts

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