excel

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSheetHeadWidth

func WithSheetHeadWidth(hw []int) func(*sheet)

Types

type Write

type Write struct {
	Filepath string // 文件路径
	// contains filtered or unexported fields
}

func NewExcel

func NewExcel(filepath string, opts ...writeOption) *Write

func (*Write) DelSheet1

func (w *Write) DelSheet1() *Write

func (*Write) NewSheet

func (w *Write) NewSheet(name string, head []string, data [][]string, opts ...sheetOption) *sheet

func (*Write) Save

func (w *Write) Save() error

Jump to

Keyboard shortcuts

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