excel

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: Apache-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 ExportCfg added in v1.0.2

type ExportCfg struct {
	ExportTeamPath     string // "./temp"
	ExportFileNameLen  uint   //32
	ExportFileDuration uint   //导出文件最大存活时间 单位秒
	ExportMaxPerPage   uint   //导出分页查询每页最大记录数
}

type XLSXFile

type XLSXFile interface {
	FullName() string
	ShortName() string
	Close() error
	Write(cells []string) error
	WriteAll(records [][]string) error
	Flush()
}

func NewFileSteamSysTem

func NewFileSteamSysTem(c ExportCfg, sheet string, headers []string) (XLSXFile, error)

NewFileSteamSysTem 保存到系统临时文件

Jump to

Keyboard shortcuts

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