diff options
author | xuri <xuri.me@gmail.com> | 2021-02-15 00:09:35 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-02-15 00:09:35 +0800 |
commit | 36b7990d6ba1036823abf7a01ec8cf74509d4910 (patch) | |
tree | 118e8a9e0db3d071defb497cd98b2fa85595f7b9 /sheet.go | |
parent | ca6b1577a7d1508e61e7084ee67ab0dd759b305e (diff) |
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
Diffstat (limited to 'sheet.go')
-rw-r--r-- | sheet.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -610,8 +610,8 @@ func (f *File) copySheet(from, to int) error { if ok { f.XLSX[toRels] = f.XLSX[fromRels] } - fromSheetXMLPath, _ := f.sheetMap[trimSheetName(fromSheet)] - fromSheetAttr, _ := f.xmlAttr[fromSheetXMLPath] + fromSheetXMLPath := f.sheetMap[trimSheetName(fromSheet)] + fromSheetAttr := f.xmlAttr[fromSheetXMLPath] f.xmlAttr[path] = fromSheetAttr return err } |