Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlignLeft = 1 + iota AlignRight AlignCenter )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TableWriter ¶
type TableWriter struct {
// contains filtered or unexported fields
}
func New ¶
func New(output io.Writer) *TableWriter
func (*TableWriter) Add ¶
func (w *TableWriter) Add(row ...string)
func (*TableWriter) Flush ¶
func (w *TableWriter) Flush()
func (*TableWriter) Header ¶
func (w *TableWriter) Header(header ...string)
func (*TableWriter) SetAligns ¶
func (w *TableWriter) SetAligns(aligns ...int)
Click to show internal directories.
Click to hide internal directories.