Documentation ¶
Index ¶
- Variables
- func ReadConfig()
- func ReadFile(fileName string) ([]byte, error)
- func ReloadConfig(k string) error
- func WatchConfig(path string)
- type Xlsx
- func NewSession(path string, sheetName string, tableHeaderRowCount int, table interface{}) *Xlsx
- func NewSessionBinary(fileData []byte, sheetName string, tableHeaderRowCount int, table interface{}) *Xlsx
- func NewSessionBinaryReflect(fileData []byte, sheetName string, tableHeaderRowCount int, ...) *Xlsx
- type XlsxFile
Constants ¶
This section is empty.
Variables ¶
View Source
var CfgMap = map[string]XlsxFile{}
CfgMap 配置文件
Functions ¶
Types ¶
type Xlsx ¶
func NewSession ¶
NewSession 创建表格
func NewSessionBinary ¶
func NewSessionBinary(fileData []byte, sheetName string, tableHeaderRowCount int, table interface{}) *Xlsx
NewSessionBinary 通过二进制打开
Click to show internal directories.
Click to hide internal directories.