Documentation ¶ Index ¶ func WithSheetHeadWidth(hw []int) func(*sheet) type Write func NewExcel(filepath string, opts ...writeOption) *Write func (w *Write) DelSheet1() *Write func (w *Write) NewSheet(name string, head []string, data [][]string, opts ...sheetOption) *sheet func (w *Write) Save() error 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 Source Files ¶ View all Source files write.go Click to show internal directories. Click to hide internal directories.