Documentation
¶
Index ¶
- type OutputFormatter
- type OutputFormatterOption
- func WithHeaders(withHeaders bool) OutputFormatterOption
- func WithOutputFile(outputFile string) OutputFormatterOption
- func WithOutputFileTemplate(outputFileTemplate string) OutputFormatterOption
- func WithOutputMultipleFiles(outputMultipleFiles bool) OutputFormatterOption
- func WithSeparator(separator rune) OutputFormatterOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputFormatter ¶
type OutputFormatter struct {
OutputFile string
OutputFileTemplate string
OutputMultipleFiles bool
WithHeaders bool
Separator rune
}
func NewCSVOutputFormatter ¶
func NewCSVOutputFormatter(opts ...OutputFormatterOption) *OutputFormatter
func NewTSVOutputFormatter ¶
func NewTSVOutputFormatter(opts ...OutputFormatterOption) *OutputFormatter
func (*OutputFormatter) ContentType ¶ added in v0.2.84
func (f *OutputFormatter) ContentType() string
func (*OutputFormatter) RegisterMiddlewares ¶ added in v0.3.0
func (f *OutputFormatter) RegisterMiddlewares(mw *middlewares.Processor) error
type OutputFormatterOption ¶
type OutputFormatterOption func(*OutputFormatter)
func WithHeaders ¶
func WithHeaders(withHeaders bool) OutputFormatterOption
func WithOutputFile ¶
func WithOutputFile(outputFile string) OutputFormatterOption
func WithOutputFileTemplate ¶
func WithOutputFileTemplate(outputFileTemplate string) OutputFormatterOption
func WithOutputMultipleFiles ¶
func WithOutputMultipleFiles(outputMultipleFiles bool) OutputFormatterOption
func WithSeparator ¶
func WithSeparator(separator rune) OutputFormatterOption
Click to show internal directories.
Click to hide internal directories.