Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGreenText ¶
func GetRedText ¶
func GetYellowText ¶
Types ¶
type ColorFormater ¶
var BaseColorFormatter ColorFormater
func (ColorFormater) Format ¶
func (cf ColorFormater) Format(text string) string
type DataListTable ¶
type DataListTable struct { ShortHeaders []string LongHeaders []string HeaderLabel map[string]string Items []interface{} SortBy []table.SortBy ColumnConfigs []table.ColumnConfig Slots map[string]func(item interface{}) interface{} Title string StyleSeparateRows bool }
func (*DataListTable) AddItems ¶
func (dataTable *DataListTable) AddItems(items interface{})
func (*DataListTable) CleanItems ¶
func (dataTable *DataListTable) CleanItems()
func (DataListTable) Print ¶
func (dataTable DataListTable) Print(long bool)
Click to show internal directories.
Click to hide internal directories.