summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-09-18 23:20:24 +0800
committerxuri <xuri.me@gmail.com>2021-09-19 11:06:54 +0800
commit790c363cceaaa09e91ad579e2d25cb13c1582bba (patch)
treeb5747f30edeac96a7fdadec574f1a5b1d332ca18 /README.md
parent2add938798cdd1456616869298319528b0c76913 (diff)
This closes #833, closes #845, and closes #1022, breaking changes
- Close spreadsheet and row's iterator required - New options `WorksheetUnzipMemLimit` have been added - Improve streaming reading performance, memory usage decrease about 93.7%
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index ac2b6c3..6b87469 100644
--- a/README.md
+++ b/README.md
@@ -96,6 +96,10 @@ func main() {
}
fmt.Println()
}
+ // Close the spreadsheet.
+ if err = f.Close(); err != nil {
+ fmt.Println(err)
+ }
}
```
@@ -203,6 +207,10 @@ func main() {
if err = f.Save(); err != nil {
fmt.Println(err)
}
+ // Close the spreadsheet.
+ if err = f.Close(); err != nil {
+ fmt.Println(err)
+ }
}
```