Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TableConfig = struct { BreakOnAny bool ForceWrap bool UseTabWriter bool MaxTTYWidth int TabWriterTruncate bool UseUTF8Borders bool BorderColorFunc func(string) string }{ BreakOnAny: false, ForceWrap: false, UseTabWriter: false, MaxTTYWidth: 0, TabWriterTruncate: false, UseUTF8Borders: false, BorderColorFunc: nil, }
Functions ¶
This section is empty.
Types ¶
type Table ¶
type Table struct {
Headers Row
LineSeparator bool
TableWriterTruncate bool
TableWriterPadding int
TableWriterExpandRows bool
// contains filtered or unexported fields
}
func (*Table) Sort ¶
func (t *Table) Sort()
Sort sorts the rows in the table using the first column as key.
func (*Table) SortByColumn ¶
Click to show internal directories.
Click to hide internal directories.