Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConstExcelExtNames = []string{".xlsx", ".xls"} // excel 文件后缀
Functions ¶
This section is empty.
Types ¶
type Setting ¶
type Setting struct { InputExcelDir string `validate:"required"` // 输入的 Excel 文件夹 OutputCsvDir string `validate:"required"` // 输出的 Csv 文件夹 ExcelFileNameSchema string `validate:"required"` // csv 文件名的正则表达式 }
func NewSetting ¶
func NewSetting() *Setting
func (*Setting) SetAttribute ¶
Click to show internal directories.
Click to hide internal directories.