Documentation ¶
Overview ¶
Package excel @Author Binary.H 2022/7/30 14:48:00
Package excel @Author Binary.H 2022/9/20 21:54:00
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExportMapper ¶
func NewExportMapper(sheetName string, templateStruct interface{}, sourceData interface{}, filter map[string]string) *exportMapper
NewExportMapper 创建一个excel导出映射器 params: sheet名, 模版结构体, 源数据, 过滤列
func NewImportMapper ¶
func NewImportMapper(data [][]string, templateStruct interface{}) *importMapper
NewImportMapper 创建一个excel导入映射器 params: 源数据切片,模版结构体
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.