excel

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: MIT Imports: 9 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
}

func NewOutputFormatter

func NewOutputFormatter(opts ...OutputFormatterOption) *OutputFormatter

func (*OutputFormatter) Close added in v0.3.1

func (E *OutputFormatter) Close(ctx context.Context) error

func (*OutputFormatter) ContentType added in v0.2.84

func (f *OutputFormatter) ContentType() string

func (*OutputFormatter) OutputTable added in v0.3.1

func (E *OutputFormatter) OutputTable(_ context.Context, table_ *types.Table, w io.Writer) 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