Documentation ¶
Index ¶
Constants ¶
View Source
const Day = time.Hour * 24
Variables ¶
This section is empty.
Functions ¶
func PrintTable ¶
func PrintTable(p Printer)
func TimeFormat ¶
Types ¶
type Printer ¶
type Printer interface { Flags(flags ...interface{}) []interface{} PrintBody() [][]string PrintTitle() []string Sorter() *RecordsSorter }
type RecordsSorter ¶
func NewRecordsSorter ¶
func NewRecordsSorter(cmp func([]string, []string) bool) *RecordsSorter
func (*RecordsSorter) Len ¶
func (s *RecordsSorter) Len() int
func (*RecordsSorter) Less ¶
func (s *RecordsSorter) Less(i, j int) bool
func (*RecordsSorter) Swap ¶
func (s *RecordsSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.