Explorar el Código

Resolve #377, avoid empty column in GetRows result

xuri hace 6 años
padre
commit
4e7d93a777
Se han modificado 1 ficheros con 1 adiciones y 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