Documentation ¶
Index ¶
Constants ¶
View Source
const TabWidth = 8
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlignmentType ¶
type AlignmentType uint8
const ( AlignLeft AlignmentType = iota AlignCenter AlignRight )
type PrettyTable ¶
type PrettyTable struct {
// contains filtered or unexported fields
}
func NewPrettyTable ¶
func NewPrettyTable(fields []string) *PrettyTable
func NewPrettyTableWithTryTermWidth ¶
func NewPrettyTableWithTryTermWidth(fields []string, tryTermWidth bool) *PrettyTable
func (*PrettyTable) GetString ¶
func (this *PrettyTable) GetString(fields [][]string) string
func (*PrettyTable) MaxLineWidth ¶
func (this *PrettyTable) MaxLineWidth(w int)
Click to show internal directories.
Click to hide internal directories.