summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-05-29 19:37:10 +0800
committerxuri <xuri.me@gmail.com>2022-05-29 19:37:10 +0800
commit7a6d5f5ebe5fa9b74ec58b79baf79b369d496e21 (patch)
treeda761d89ba9c8eb4a78a69770532a1c87c255e4a /excelize.go
parent551b83afab85f2911410a6fa994fe5cc883d8804 (diff)
This initialized support for encryption workbook by password, ref #199
- Remove exported variable `ErrEncrypt`
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/excelize.go b/excelize.go
index 0e2f440..8c71b16 100644
--- a/excelize.go
+++ b/excelize.go
@@ -93,10 +93,6 @@ type Options struct {
// return
// }
//
-// Note that the excelize just support decrypt and not support encrypt
-// currently, the spreadsheet saved by Save and SaveAs will be without
-// password unprotected. Close the file by Close after opening the
-// spreadsheet.
func OpenFile(filename string, opt ...Options) (*File, error) {
file, err := os.Open(filepath.Clean(filename))
if err != nil {