summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-05-07 16:12:51 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2018-05-07 16:12:51 +0800
commit38ad20efc11c1872c4e62a12617f0300c138b867 (patch)
tree7190083ed4fa8ddaa1ec3b9ecb260423451f3164 /table.go
parentbc451a78de32ccde2a4f6d0851ea6e41e45408f1 (diff)
save bytes on memory instead of string
Diffstat (limited to 'table.go')
-rw-r--r--table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table.go b/table.go
index 5c00a2d..5af4b04 100644
--- a/table.go
+++ b/table.go
@@ -150,7 +150,7 @@ func (f *File) addTable(sheet, tableXML string, hxAxis, hyAxis, vxAxis, vyAxis,
},
}
table, _ := xml.Marshal(t)
- f.saveFileList(tableXML, string(table))
+ f.saveFileList(tableXML, table)
}
// parseAutoFilterSet provides function to parse the settings of the auto