Versions in this module Expand all Collapse all v1 v1.1.0 May 22, 2024 v1.0.0 Apr 2, 2022 Changes in this version + var BordersASCII = Borders + var BordersDefault = Borders + var BordersDouble = Borders + var BordersHeavy = Borders + var BordersSpace = Borders + type Align uint8 + const Auto + const Center + const Left + const Right + type Borders struct + Bar rune + BarLeft rune + BarRight rune + BottomLeft rune + BottomRight rune + Cross rune + Line rune + LineBottom rune + LineTop rune + TopLeft rune + TopRight rune + type Close uint8 + const CloseAll + const CloseBottom + const CloseLeft + const CloseRight + const CloseTop + type FormatAs string + type FormatAsFunc func(v interface{}) string + func FormatAsFloat(perc int) FormatAsFunc + func FormatAsNum() FormatAsFunc + type Table struct + func New(header ...string) *Table + func (t *Table) AlignCol(n int, a Align) *Table + func (t *Table) Borders(borders Borders) *Table + func (t *Table) Close(close Close) *Table + func (t *Table) FormatCol(n int, p FormatAs) *Table + func (t *Table) FormatColFunc(n int, p FormatAsFunc) *Table + func (t *Table) Grow(n int) + func (t *Table) Header(show bool, header ...string) *Table + func (t *Table) Pad(pad string) *Table + func (t *Table) Prefix(prefix string) *Table + func (t *Table) Row(r ...interface{}) *Table + func (t *Table) Rows(r ...interface{}) *Table + func (t *Table) RowsFromString(colDelim, rowDelim string, header bool, rows string) *Table + func (t *Table) Width() int + func (t Table) Error() error + func (t Table) Horizontal(w io.Writer) + func (t Table) String() string + func (t Table) Vertical(w io.Writer)