Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsvFormat ¶
type CsvFormat struct {
// contains filtered or unexported fields
}
func NewCsvFormat ¶
func (*CsvFormat) WriteHeader ¶
type Format ¶
type JsonFormat ¶
type JsonFormat struct {
// contains filtered or unexported fields
}
func NewJsonFormat ¶
func NewJsonFormat(w io.Writer) *JsonFormat
func (*JsonFormat) Close ¶
func (cf *JsonFormat) Close() error
func (*JsonFormat) Write ¶
func (cf *JsonFormat) Write(line []interface{}) error
func (*JsonFormat) WriteHeader ¶
func (cf *JsonFormat) WriteHeader(headers []string) error
type PrettyFormat ¶
type PrettyFormat struct {
// contains filtered or unexported fields
}
func NewPrettyFormat ¶
func NewPrettyFormat(w io.Writer) *PrettyFormat
func (*PrettyFormat) Close ¶
func (pf *PrettyFormat) Close() error
func (*PrettyFormat) Write ¶
func (pf *PrettyFormat) Write(line []interface{}) error
func (*PrettyFormat) WriteHeader ¶
func (pf *PrettyFormat) WriteHeader(headers []string) error
Click to show internal directories.
Click to hide internal directories.