Documentation ¶ Index ¶ func Print(t Table) func PrintWithStyle(t Table, style Style) func ToString(t Table) string func ToStringWithStyle(t Table, style Style) string type Style func (e Style) String() string type Table func AddRow(t Table, row []string) Table func New(headers []string) Table Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Print ¶ func Print(t Table) func PrintWithStyle ¶ func PrintWithStyle(t Table, style Style) func ToString ¶ func ToString(t Table) string func ToStringWithStyle ¶ func ToStringWithStyle(t Table, style Style) string Types ¶ type Style ¶ added in v0.4.0 type Style string const ( StylePlain Style = "plain" StyleBox Style = "box" StyleMarkdown Style = "markdown" ) func (Style) String ¶ added in v0.4.0 func (e Style) String() string type Table ¶ type Table struct { Headers []string Rows [][]string } func AddRow ¶ func AddRow(t Table, row []string) Table func New ¶ func New(headers []string) Table Source Files ¶ View all Source files table.go Click to show internal directories. Click to hide internal directories.