Documentation ¶
Overview ¶
Package clitable implements methods for pretty command line table output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintHorizontal ¶
func PrintHorizontal(m map[string]interface{})
PrintHorizontal - Prints horizontal table from a map.
func PrintTable ¶
PrintTable - Prints table.
Types ¶
type Table ¶
type Table struct { Fields []string Rows []map[string]string HideHead bool // when true doesn't print header Markdown bool // contains filtered or unexported fields }
Table - Table structure.
Click to show internal directories.
Click to hide internal directories.