table

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 2 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 {
	Title    string
	Headers  []string
	Rows     [][]interface{}
	ColWidth int
}

func NewTable

func NewTable(title string, headers []string, colWidth int) *Table

func (*Table) AppendRow

func (tb *Table) AppendRow(row []interface{})

func (*Table) String

func (tb *Table) String() string

Jump to

Keyboard shortcuts

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