From 93160287bb7fa6479c73ee031b5ed771972a17a8 Mon Sep 17 00:00:00 2001 From: Lijingfeng <170574@qq.com> Date: Mon, 5 Oct 2020 22:17:11 +0800 Subject: 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 Co-authored-by: xuri --- excelize.go | 1 + 1 file changed, 1 insertion(+) (limited to 'excelize.go') 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 -- cgit v1.2.1