summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
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 8c71b16..aaa4953 100644
--- a/excelize.go
+++ b/excelize.go
@@ -93,6 +93,7 @@ type Options struct {
// return
// }
//
+// Close the file by Close function after opening the spreadsheet.
func OpenFile(filename string, opt ...Options) (*File, error) {
file, err := os.Open(filepath.Clean(filename))
if err != nil {