Documentation ¶
Index ¶
- Constants
- type Align
- type Col
- type Cols
- type FormatFn
- type Row
- type Rows
- type SortBy
- type SortFn
- type SortOrder
- type Table
- func (t *Table) AddCol(n string) *Col
- func (t *Table) AddRow(v ...interface{}) *Row
- func (t *Table) Format() *Table
- func (t *Table) Fprint(w io.Writer)
- func (t *Table) SetWidth(w int) *Table
- func (t *Table) Sort() *Table
- func (t *Table) SortAsc(n string) *Table
- func (t *Table) SortAscFn(n string, fn SortFn) *Table
- func (t *Table) SortDesc(n string) *Table
- func (t *Table) SortDescFn(n string, fn SortFn) *Table
Constants ¶
View Source
const ( // AlignLeft int AlignLeft = Align(iota) // AlignRight int AlignRight // AlignCenter int AlignCenter )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Col ¶
type Col struct {
// contains filtered or unexported fields
}
Col struct
func (*Col) SetFormatFn ¶
SetFormatFn set format function
Click to show internal directories.
Click to hide internal directories.