diff options
author | xuri <xuri.me@gmail.com> | 2019-12-24 01:09:28 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-12-24 01:09:28 +0800 |
commit | 1666d04559d9f5b579ab7c850ccc95863c31bd25 (patch) | |
tree | e04b4e3b3dc4e42bf87547163f73a970eae85487 /table.go | |
parent | 4e4a5b9b3e052d1694442515492792fb1aa74c5a (diff) |
optimization: checking error in unit tests
Diffstat (limited to 'table.go')
-rw-r--r-- | table.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ func (f *File) addTable(sheet, tableXML string, x1, y1, x2, y2, i int, formatSet } name, _ := f.GetCellValue(sheet, cell) if _, err := strconv.Atoi(name); err == nil { - f.SetCellStr(sheet, cell, name) + _ = f.SetCellStr(sheet, cell, name) } if name == "" { name = "Column" + strconv.Itoa(idx) |