Documentation ¶
Overview ¶
Package asciitable implements a simple ASCII table formatter for printing tabular values into a text terminal.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table holds tabular values in a rows and columns format.
func MakeHeadlessTable ¶
MakeTable creates a new instance of the table without any column names. The number of columns is required.
func MakeTable ¶
MakeTable creates a new instance of the table with given column names.
Example ¶
Output:
func (*Table) IsHeadless ¶
IsHeadless returns true if none of the table title cells contains any text.
Click to show internal directories.
Click to hide internal directories.