Documentation ¶
Overview ¶
Package simple contains a simple table
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
}
Table is a wrapper around tablewriter.Table
func New ¶
func New(layout layouts.TableLayout, header []string) *Table
New creates a new table with the given header
func (*Table) AddRowWithColor ¶
func (t *Table) AddRowWithColor(row ...layouts.ColoredColumn)
AddRowWithColor adds a row with the given colors
Click to show internal directories.
Click to hide internal directories.