Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Table)
func WithFooter ¶
func WithHeader ¶
WithHeader option can be supplied to indicate the presence of a header when using ReadCSV or supplied otherwise to indicate whether the header should be rendered
func WithMergeCells ¶
func WithMergeCells() Option
func WithOffsetLimit ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table represents a data table with a header & footer
func (*Table) Append ¶
func (t *Table) Append(row ...interface{})
Append a row of data into the table
func (*Table) Render ¶
Render table as ASCII to io.Writer Options WithHeader, WithMergeCells and WithOffsetLimit will affect the rendering of the table
Click to show internal directories.
Click to hide internal directories.