Explorar o código

fix bug

fix bug
frogs %!s(int64=13) %!d(string=hai) anos
pai
achega
80a577b592
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. BIN=BIN
      .DS_Store
  2. 1 2
      lib.go

BIN=BIN
.DS_Store


+ 1 - 2
lib.go

@@ -202,13 +202,12 @@ func makeRowFromSpan(spans string) *Row {
 // get the max column 
 // return the cells of columns
 func makeRowFromRaw(rawrow xlsxRow) *Row {
-	var error error
 	var upper int
 	var row *Row
 	var cell *Cell
 
 	row = new(Row)
-	upper := 0
+	upper = 0
 
 	for _, rawcell := range rawrow.C {
 		x, _, error := getCoordsFromCellIDString(rawcell.R)