summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-05-07 16:44:02 +0800
committerGitHub <noreply@github.com>2018-05-07 16:44:02 +0800
commit038e34250f3ff827d85434b65cbba86a95724318 (patch)
treea4c441c4e2b7f3cdb3d34dcc80ae8e2011736b3b /table.go
parent3ca180f09c4a602068d890bd22e83ac48a83f5cf (diff)
parentd04be7b33da84a3f2f768ee4f0de7c49ab69279e (diff)
Merge pull request #220 from lunny/lunny/refactor
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