Versions in this module Expand all Collapse all v0 v0.1.1 Apr 29, 2018 v0.1.0 Apr 26, 2018 Changes in this version + var BuildDate = "dev-build" + var ErrUnknownAlignment = fmt.Errorf("unknown alignment") + var RootCmd = &cobra.Command + var Version = "dev-build" + func ConfigTableWriter(t *tw.Table, opts RenderOptions) + func Execute() + func FromStringArray(strs []string, out []Alignment) error + func NewBufWriteCloser(f *os.File, buf *bufio.Writer) io.WriteCloser + func Render(r *csv.Reader, w io.Writer, opts RenderOptions) error + type Alignment string + const AlignCenter + const AlignDefault + const AlignEmpty + const AlignLeft + const AlignRight + func FromString(s string) (Alignment, error) + func (a Alignment) ToString() string + func (a Alignment) ToTableWriter() int + type BufWriteCloser struct + func (b *BufWriteCloser) Close() error + type RenderOptions struct + Align Alignment + AlignColumns []Alignment + AlignFooter Alignment + AlignHeader Alignment + AutoFormattingHeaders bool + AutoMergeCells bool + AutoWrap bool + Caption string + CenterSeparator string + ColWidth int + ColumnSeparator string + FirstRowAsHeader bool + Footer []string + Header []string + Newline string + Reflow bool + RowLine bool + RowSeparator string