Browse Source

Resolve #377, avoid empty column in GetRows result

xuri 6 years ago
parent
commit
4e7d93a777
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rows.go

+ 1 - 1
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