summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-04-07 14:04:41 +0800
committerxuri <xuri.me@gmail.com>2019-04-07 14:04:41 +0800
commit4e7d93a77796aa6814339d377a94d4b66226f1ce (patch)
tree104a09f70b954f17cdc22b7f820f07eeada402ef /rows.go
parenteca66180f191ba1209e5d50859be51eec7954281 (diff)
Resolve #377, avoid empty column in GetRows result
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rows.go b/rows.go
index 5b8d7d8..6ece77b 100644
--- a/rows.go
+++ b/rows.go
@@ -54,7 +54,7 @@ func (f *File) GetRows(sheet string) ([][]string, error) {
}
rows := make([][]string, rowCount)
for i := range rows {
- rows[i] = make([]string, colCount+1)
+ rows[i] = make([]string, colCount)
}
var row int