Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetTerminalWidthFn ¶
func SetTerminalWidthFn(f func() uint)
Types ¶
type CsvFormatter ¶
type CsvFormatter struct{}
func (*CsvFormatter) FormatOutput ¶
func (f *CsvFormatter) FormatOutput(model interface{}) (res string, err error)
type JsonFormatter ¶
type JsonFormatter struct{}
func (*JsonFormatter) FormatOutput ¶
func (f *JsonFormatter) FormatOutput(model interface{}) (res string, err error)
type TableFormatter ¶
type TableFormatter struct{}
func (*TableFormatter) FormatOutput ¶
func (f *TableFormatter) FormatOutput(model interface{}) (res string, err error)
type TextFormatter ¶
type TextFormatter struct{}
func (*TextFormatter) FormatOutput ¶
func (f *TextFormatter) FormatOutput(model interface{}) (res string, err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.