summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-06-22 00:05:19 +0800
committerxuri <xuri.me@gmail.com>2020-06-22 00:05:19 +0800
commit5221729bc342c5b12883ebe03898a85f755233c9 (patch)
treee389e99831091bb686fe0de08997e8e94effd32d /rows.go
parentdcb772d6921ce21d0f50907bd4dcd926fde15891 (diff)
make columns iterator read cell streamingly and add max column limit on ColumnNumberToName
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/rows.go b/rows.go
index 352f1eb..f9770aa 100644
--- a/rows.go
+++ b/rows.go
@@ -46,9 +46,6 @@ func (f *File) GetRows(sheet string) ([][]string, error) {
}
results := make([][]string, 0, 64)
for rows.Next() {
- if rows.Error() != nil {
- break
- }
row, err := rows.Columns()
if err != nil {
break