Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlignLeft = iota AlignRight )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ShowIndex bool // shows the index/row number as the first column Color bool // use the color codes in the output AlternateColors bool // alternate the colors when writing TitleColorCode string // the ansi code for the title row AltColorCodes []string // the ansi codes to alternate between }
Config is the
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns the default config for table, if its ever left null in a method this will be the one used to display the table
Click to show internal directories.
Click to hide internal directories.