Browse Source

Update README.org

Reading XLSX file demo gave an error like this.
"multiple-value cell.String() in single-value context"
ykocaman 8 years ago
parent
commit
9482a2bde0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.org

+ 1 - 1
README.org

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