package
Version:
v0.0.14
Opens a new window with list of versions in this module.
Published: Jan 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Alignment is the alignment of a table cell.
CellType is the type of a table cell.
Row is a table row.
AddEmpty adds an empty cell.
AddIndented adds an indented cell.
AddNumber adds a number cell.
AddText adds a text cell.
func (r *Row) FillEmpty()
FillEmpty fills the row with empty cells.
type SeparatorCell struct{}
SeparatorCell is a cell containing a separator.
Table is a matrix of table cells.
New creates a new table with column groups.
func (t *Table) AddEmptyRow()
AddEmptyRow adds a separator row.
func (t *Table) AddSeparatorRow()
AddSeparatorRow adds a separator row.
Width returns the width of this table.
type TextRenderer struct {
Color bool
Thousands bool
Round int32
}
TextRenderer renders a table to text.
Render renders this table to a string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.