Explorar o código

Resolve #377, avoid empty column in GetRows result

xuri %!s(int64=6) %!d(string=hai) anos
pai
achega
4e7d93a777
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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