excel

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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) ContentType added in v0.2.84

func (f *OutputFormatter) ContentType() string

func (*OutputFormatter) Output

func (E *OutputFormatter) Output(_ context.Context, table_ *types.Table, w io.Writer) error

func (*OutputFormatter) RegisterMiddlewares added in v0.3.0

func (E *OutputFormatter) RegisterMiddlewares(mw *middlewares.Processor) 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