table

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 3 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 New

func New() *Table

func (*Table) AddRow

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

func (*Table) BulkData

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

func (*Table) Caption

func (t *Table) Caption(caption string)

func (*Table) Footer

func (t *Table) Footer(footer ...string)

func (*Table) Header

func (t *Table) Header(header ...string)

func (*Table) Render

func (t *Table) Render()

func (*Table) SetAutoWrapText

func (t *Table) SetAutoWrapText(value bool)

func (*Table) SetColWidth

func (t *Table) SetColWidth(width int)

func (*Table) SetReflowDuringAutoWrap

func (t *Table) SetReflowDuringAutoWrap(value bool)

func (*Table) SetRowLine

func (t *Table) SetRowLine(char string)

func (*Table) UnsetRowLine

func (t *Table) UnsetRowLine()

Jump to

Keyboard shortcuts

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