Documentation ¶
Index ¶
- Constants
- type AnsiColor
- type Column
- type Displayable
- type Output
- func (o *Output) AnsiSequence(sequence string) *Output
- func (o *Output) Bold(format string, a ...interface{}) *Output
- func (o *Output) Color(color AnsiColor) *Output
- func (o *Output) DisplayJson(object interface{}) error
- func (o *Output) DisplayTable(object interface{}, separator string, pretty bool) error
- func (o *Output) Errorf(format string, a ...interface{}) *Output
- func (o *Output) Print(a ...interface{}) *Output
- func (o *Output) Printf(format string, a ...interface{}) *Output
- func (o *Output) Println(a ...interface{}) *Output
- func (o *Output) Reset() *Output
- type Progress
- type Table
Constants ¶
View Source
const ( AnsiReset = "\033[0m" AnsiBold = "\u001B[1m" AnsiItalic = "\u001B[3m" AnsiUnderline = "\u001B[4m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Displayable ¶
type Output ¶
func NewConsoleOutput ¶
func (*Output) AnsiSequence ¶
func (*Output) DisplayJson ¶
func (*Output) DisplayTable ¶
type Progress ¶
func NewProgress ¶
type Table ¶
func (*Table) FindColumn ¶
Click to show internal directories.
Click to hide internal directories.