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
}
Table is a helper for printing data in sheet form
func NewTableWithWriter ¶
NewTable returns a new table
func (*Table) AppendRow ¶
func (t *Table) AppendRow(row []interface{})
AppendRow adds a row to the end of the table
func (*Table) PrintSummary ¶
PrintSummary writes the table summary to stdout
func (*Table) SetSummary ¶
func (t *Table) SetSummary(summary []interface{})
SetSummary sets a summary for this table, to be printed below the table
Click to show internal directories.
Click to hide internal directories.