Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
JSON = Register("json", NewJSONPrinter())
)
View Source
var Registry = map[string]Printer{}
View Source
var (
Table = Register("table", NewTablePrinter())
)
Functions ¶
func ListFormats ¶
func ListFormats() []string
Types ¶
type JSONPrinter ¶
type JSONPrinter struct{}
func NewJSONPrinter ¶
func NewJSONPrinter() *JSONPrinter
type TablePrinter ¶
type TablePrinter struct{}
func NewTablePrinter ¶
func NewTablePrinter() *TablePrinter
Click to show internal directories.
Click to hide internal directories.