Versions in this module Expand all Collapse all v1 v1.4.1 Sep 11, 2020 Changes in this version + type Column struct + MaxLength int + Name string + Template *template.Template + func CustomColumn(name, tpl string) (*Column, error) + func NamedColumn(name, fieldName string) *Column + func NewColumn(name string) *Column + func (c *Column) FormatField(data interface{}) string + func (c *Column) FormatFieldOrError(data interface{}) (string, error) + type Table struct + Columns []Column + Rows []interface{} + Separator string + func NewTable(data interface{}, fields []string, headers []string) *Table + func (t *Table) Format(color bool) string