Documentation
¶
Index ¶
Constants ¶
View Source
const ( ASCENDING_ORDER = SortDirection(1) DESCENDING_ORDER = SortDirection(-1) )
Variables ¶
This section is empty.
Functions ¶
func NewTableFormatterBuilder ¶
func NewTableFormatterBuilder() *tableFormatterBuilder
func SortTable ¶ added in v0.3.0
func SortTable(data [][]string, fns ...SortFunction)
Types ¶
type SortDirection ¶ added in v0.3.0
type SortDirection int
func (SortDirection) StringCompare ¶ added in v0.3.0
func (s SortDirection) StringCompare(column int) SortFunction
type SortFunction ¶ added in v0.3.0
type TableFormatter ¶
Click to show internal directories.
Click to hide internal directories.