excel

package
v1.0.62 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Excel

type Excel interface {
	SaveFile(dir, filename string) error
	GetBytes() ([]byte, error)
}

func New

func New(rows []interface{}, options ...Option) (Excel, error)

type Option added in v1.0.32

type Option func(*ec)

func WithCellStyles added in v1.0.32

func WithCellStyles(styles map[string]*excelize.Style) Option

func WithColStyle added in v1.0.32

func WithColStyle(style *excelize.Style) Option

func WithSheetName added in v1.0.32

func WithSheetName(name string) Option

Jump to

Keyboard shortcuts

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