Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
Types ¶
type ErrorResponse ¶
type Formatter ¶
type JSONFormatter ¶
type JSONFormatter struct {
// contains filtered or unexported fields
}
func (*JSONFormatter) FormatList ¶
func (f *JSONFormatter) FormatList(w io.Writer, items []interface{}, _ []string) error
type NDJSONFormatter ¶
type NDJSONFormatter struct {
// contains filtered or unexported fields
}
func (*NDJSONFormatter) Format ¶
func (f *NDJSONFormatter) Format(w io.Writer, data interface{}) error
func (*NDJSONFormatter) FormatList ¶
func (f *NDJSONFormatter) FormatList(w io.Writer, items []interface{}, _ []string) error
type TextFormatter ¶
type TextFormatter struct {
// contains filtered or unexported fields
}
func (*TextFormatter) FormatList ¶
func (f *TextFormatter) FormatList(w io.Writer, items []interface{}, headers []string) error
Click to show internal directories.
Click to hide internal directories.