excel

package
v0.4.19 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputFormatter

type OutputFormatter struct {
	SheetName  string
	OutputFile string
	// contains filtered or unexported fields
}

func NewOutputFormatter

func NewOutputFormatter(opts ...OutputFormatterOption) *OutputFormatter

func (*OutputFormatter) Close added in v0.3.1

func (E *OutputFormatter) Close(ctx context.Context, w io.Writer) error

func (*OutputFormatter) ContentType added in v0.2.84

func (f *OutputFormatter) ContentType() string

func (*OutputFormatter) OutputRow added in v0.3.2

func (E *OutputFormatter) OutputRow(_ context.Context, row types.Row, w io.Writer) error

func (*OutputFormatter) RegisterRowMiddlewares added in v0.4.13

func (E *OutputFormatter) RegisterRowMiddlewares(mw *middlewares.TableProcessor) error

func (*OutputFormatter) RegisterTableMiddlewares added in v0.3.1

func (E *OutputFormatter) RegisterTableMiddlewares(mw *middlewares.TableProcessor) error

type OutputFormatterOption

type OutputFormatterOption func(*OutputFormatter)

func WithOutputFile

func WithOutputFile(outputFile string) OutputFormatterOption

func WithSheetName

func WithSheetName(sheetName string) OutputFormatterOption

Jump to

Keyboard shortcuts

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