Documentation ¶
Index ¶
- func NewTableWriter(out io.Writer) *tabwriter.Writer
- func PrintJson(out io.Writer, v interface{}) error
- func PrintPlaintext(out io.Writer, v interface{}) error
- func PrintTable(out io.Writer, v interface{}, getRow func(row interface{}) []interface{}, ...) error
- func PrintYaml(out io.Writer, v interface{}) error
- type Format
- type PrintOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintPlaintext ¶
PrintPlaintext is a printer that prints the provided value as is
func PrintTable ¶
Types ¶
type PrintOptions ¶
func (*PrintOptions) ParseFormat ¶
func (p *PrintOptions) ParseFormat() error
Click to show internal directories.
Click to hide internal directories.