f
This commit is contained in:
@@ -11,10 +11,11 @@ import (
|
||||
|
||||
// ExportConfig 定义了导出所需的配置
|
||||
type ExportConfig struct {
|
||||
SheetName string // 工作表名称
|
||||
Headers []string // 表头
|
||||
Data [][]interface{} // 导出数据
|
||||
ColumnWidths []float64 // 列宽
|
||||
SheetName string // 工作表名称
|
||||
Headers []string // 表头
|
||||
Data [][]interface{} // 导出数据
|
||||
ColumnWidths []float64 // 列宽
|
||||
MergedRegions [][]int // 合并单元格配置 [[startRow, startCol, endRow, endCol], ...]
|
||||
}
|
||||
|
||||
// ExportManager 负责管理不同格式的导出
|
||||
|
||||
Reference in New Issue
Block a user