summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
authorLijingfeng <170574@qq.com>2020-10-05 22:17:11 +0800
committerGitHub <noreply@github.com>2020-10-05 22:17:11 +0800
commit93160287bb7fa6479c73ee031b5ed771972a17a8 (patch)
treeb875bf60a7eb30a83ea233b52e5740609dda4f5a /excelize.go
parentf2b8798a34aab4411a50861a4cdf47203edc3a19 (diff)
Optimize memory usage when stream flush and save (#659)
* use io.Copy from stream temp file to zip Writer * fix nil * log * build * delete log * fix compatibility for office * Update go module Co-authored-by: lijingfeng <lijingfeng@laiye.com> Co-authored-by: xuri <xuri.me@gmail.com>
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/excelize.go b/excelize.go
index cca6616..0c0f74a 100644
--- a/excelize.go
+++ b/excelize.go
@@ -36,6 +36,7 @@ type File struct {
xmlAttr map[string][]xml.Attr
checked map[string]bool
sheetMap map[string]string
+ streams map[string]*StreamWriter
CalcChain *xlsxCalcChain
Comments map[string]*xlsxComments
ContentTypes *xlsxTypes