yao/importer/from/source.go
2022-01-14 21:18:42 +08:00

20 lines
319 B
Go

package from
// Source 导入文件接口
type Source interface {
Data(page int, size int) []map[string]interface{}
Columns() []Column
Bind(mapping Mapping)
}
// Column 源数据列
type Column struct {
Name string
Type string
Col int
Row int
Pos string
}
// Mapping 数值映射表
type Mapping struct{}