Documentation ¶
Index ¶
Constants ¶
View Source
const ( ALIGN_LEFT = 0 ALIGN_CENTER = 1 ALIGN_RIGHT = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Table ¶
type Table struct { Out io.Writer Rows [][]string ColumnWidths []int ColumnAlign []int Separator string }
func CreateTable ¶
func (*Table) GetColumnAlign ¶
GetColumnAlign return the column alignment
func (*Table) SetColumnAlign ¶
SetColumnAlign sets the column alignment for the given column index
func (*Table) SetColumnsAligns ¶
SetColumnsAligns sets the alignment of the columns
Click to show internal directories.
Click to hide internal directories.