Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Formatter ¶
type Formatter interface {
Format(data interface{}) error
}
Formatter defines the output formatter interface
type JSONFormatter ¶
JSONFormatter formats output as JSON
func (*JSONFormatter) Format ¶
func (f *JSONFormatter) Format(data interface{}) error
Format outputs data as formatted JSON
type TableFormatter ¶
TableFormatter formats output as a table
func (*TableFormatter) Format ¶
func (f *TableFormatter) Format(data interface{}) error
Format outputs data as a table
Click to show internal directories.
Click to hide internal directories.