Documentation ¶
Index ¶
- func ProgressBar(count int)
- type Table
- type Text
- func (t *Text) AlignCenter(width int) *Text
- func (t *Text) Color(color string) *Text
- func (t *Text) IdentLeft(n int) *Text
- func (t *Text) IdentTop(n int) *Text
- func (t *Text) Output() *Text
- func (t *Text) RemoveEscapes() *Text
- func (t *Text) String() string
- func (t *Text) Text(str string) *Text
- func (t *Text) TrimSpace() *Text
- type TextPipleline
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table provides representation of the table
func (*Table) AddHeaders ¶
func (t *Table) AddHeaders(headers ...interface{})
AddHeaders provides adding of headers to the table
type Text ¶
type Text struct {
// contains filtered or unexported fields
}
Text defines implementation basic things for text
func (*Text) AlignCenter ¶
AlignCenter provides adding text to the center
func (*Text) RemoveEscapes ¶
RemoveEscapes provides removing of escapes from the line
type TextPipleline ¶
type TextPipleline struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.