Documentation ¶
Index ¶
- func Format(rows *DataTable) string
- func FormatOutputPrettyTable(dataTable *DataTable) table.Writer
- func IsPrettyTable() bool
- func Prepare(rows *DataTable, msg string)
- func PrettyTableAddKarma(column int)
- func PrettyTableHeaders(newHeaders []string)
- func PrettyTableRelativeTimestamps(column int)
- func PrettyTableSortBy(columns ...string)
- func PrintPrepared()
- type DataTable
- type TableRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatOutputPrettyTable ¶
func IsPrettyTable ¶
func IsPrettyTable() bool
func PrettyTableAddKarma ¶
func PrettyTableAddKarma(column int)
func PrettyTableHeaders ¶
func PrettyTableHeaders(newHeaders []string)
func PrettyTableRelativeTimestamps ¶
func PrettyTableRelativeTimestamps(column int)
func PrettyTableSortBy ¶
func PrettyTableSortBy(columns ...string)
func PrintPrepared ¶
func PrintPrepared()
Types ¶
type DataTable ¶
func NewDataTable ¶
func NewDataTable(headers []interface{}) *DataTable
Click to show internal directories.
Click to hide internal directories.