Selaa lähdekoodia

cell.String has two value.

p1gd0g 9 vuotta sitten
vanhempi
commit
b0438e0aad
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      README.org

+ 2 - 1
README.org

@@ -40,7 +40,8 @@ func main() {
     for _, sheet := range xlFile.Sheets {
         for _, row := range sheet.Rows {
             for _, cell := range row.Cells {
-                fmt.Printf("%s\n", cell.String())
+                text, _ := cell.String()
+                fmt.Printf("%s\n", text)
             }
         }
     }