simple

package
v0.4.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SingleColumnFormatter

type SingleColumnFormatter struct {
	Column              types.FieldName
	OutputFile          string
	OutputFileTemplate  string
	OutputMultipleFiles bool
	Separator           string
}

func NewSingleColumnFormatter

func NewSingleColumnFormatter(column types.FieldName, opts ...SingleColumnFormatterOption) *SingleColumnFormatter

func (*SingleColumnFormatter) Close added in v0.3.1

func (*SingleColumnFormatter) ContentType added in v0.2.84

func (s *SingleColumnFormatter) ContentType() string

func (*SingleColumnFormatter) OutputTable added in v0.3.1

func (s *SingleColumnFormatter) OutputTable(ctx context.Context, table_ *types.Table, w io.Writer) error

func (*SingleColumnFormatter) RegisterRowMiddlewares added in v0.4.13

func (s *SingleColumnFormatter) RegisterRowMiddlewares(mw *middlewares.TableProcessor) error

func (*SingleColumnFormatter) RegisterTableMiddlewares added in v0.3.1

func (s *SingleColumnFormatter) RegisterTableMiddlewares(mw *middlewares.TableProcessor) error

type SingleColumnFormatterOption

type SingleColumnFormatterOption func(*SingleColumnFormatter)

func WithOutputFile added in v0.2.59

func WithOutputFile(outputFile string) SingleColumnFormatterOption

func WithOutputFileTemplate added in v0.2.59

func WithOutputFileTemplate(template string) SingleColumnFormatterOption

func WithOutputMultipleFiles added in v0.2.59

func WithOutputMultipleFiles(outputMultipleFiles bool) SingleColumnFormatterOption

func WithSeparator

func WithSeparator(separator string) SingleColumnFormatterOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL