Documentation ¶
Index ¶
- type ColumnDef
- type Formatter
- type Option
- type Output
- func NewFreeOutput(out io.Writer, err io.Writer, option Option) Output
- func NewIDOutput(out io.Writer, err io.Writer) Output
- func NewJSONOutput(out io.Writer, err io.Writer) Output
- func NewRowOutput(out io.Writer, err io.Writer, separator rune, option Option) Output
- func NewTableOutput(out io.Writer, err io.Writer, formater Formatter) Output
- type TableType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnDef ¶
type ColumnDef struct { Name string Sources []string Format string ValueMapping []map[string]string FormatFunc func(values map[string]string) string }
func (*ColumnDef) GetSources ¶
type Output ¶
type Output interface {
Print(...interface{}) error
}
func NewFreeOutput ¶ added in v0.0.2
func NewRowOutput ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.