diff options
author | xuri <xuri.me@gmail.com> | 2022-03-19 00:05:47 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-03-19 00:05:47 +0800 |
commit | 94f197c4fe6531f96a42fe4e960c1c921a3ee0e8 (patch) | |
tree | 1506b7d9e7584257768843e7723af2208fe6ce20 /file.go | |
parent | 14b461420fc3d3b06b01d7b0584b422b3e1b40fb (diff) |
This improved formula calculate precision and added zero placeholder number format support
Diffstat (limited to 'file.go')
-rw-r--r-- | file.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ func (f *File) SaveAs(name string, opt ...Options) error { return ErrWorkbookExt } f.setContentTypePartProjectExtensions(contentType) - file, err := os.OpenFile(filepath.Clean(name), os.O_WRONLY|os.O_TRUNC|os.O_CREATE, 0600) + file, err := os.OpenFile(filepath.Clean(name), os.O_WRONLY|os.O_TRUNC|os.O_CREATE, 0o600) if err != nil { return err } |