Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DenseColumnMajor ¶
type DenseColumnMajor struct {
// contains filtered or unexported fields
}
DenseColumnMajor is a printer that displays items in a column-major table format.
func NewDenseColumnMajor ¶
func NewDenseColumnMajor(width, spacing int) *DenseColumnMajor
NewDenseColumnMajor creates a DenseColumnMajor printer. The output format will be a table of given `width` in which columns are separated by `spacing` spaces.
func (*DenseColumnMajor) GetColumnSpacing ¶
func (printer *DenseColumnMajor) GetColumnSpacing() int
GetColumnSpacing returns the space between columns.
func (*DenseColumnMajor) GetOutputWidth ¶
func (printer *DenseColumnMajor) GetOutputWidth() int
GetOutputWidth returns the width of the table.
type DenseRowMajor ¶
type DenseRowMajor struct {
// contains filtered or unexported fields
}
DenseRowMajor is a printer that displays items in a row-major table format.
func NewDenseRowMajor ¶
func NewDenseRowMajor(width, spacing int) *DenseRowMajor
NewDenseRowMajor creates a DenseRowMajor printer. The output format will be a table of given `width` in which columns are separated by `spacing` spaces.
func (*DenseRowMajor) GetColumnSpacing ¶
func (printer *DenseRowMajor) GetColumnSpacing() int
GetColumnSpacing returns the space between columns.
func (*DenseRowMajor) GetOutputWidth ¶
func (printer *DenseRowMajor) GetOutputWidth() int
GetOutputWidth returns the width of the table.