Commit f9ca8458 by yemin

no message

parent 3d9cc5dd
...@@ -25,7 +25,7 @@ func ToExcel(titleList []string, dataList [][]interface{}) (content io.ReadSeeke ...@@ -25,7 +25,7 @@ func ToExcel(titleList []string, dataList [][]interface{}) (content io.ReadSeeke
for _, v := range dataList { for _, v := range dataList {
row := sheet.AddRow() row := sheet.AddRow()
//row.WriteStruct(v, -1) //row.WriteStruct(v, -1)
row.WriteSlice(v, -1) row.WriteSlice(&v, -1)
} }
var buffer bytes.Buffer var buffer bytes.Buffer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment