|
|
@@ -74,7 +74,11 @@ func main() {
|
|
|
return
|
|
|
}
|
|
|
// Get value from cell by given worksheet name and axis.
|
|
|
- cell := f.GetCellValue("Sheet1", "B2")
|
|
|
+ cell, err := f.GetCellValue("Sheet1", "B2")
|
|
|
+ if err != nil {
|
|
|
+ fmt.Println(err)
|
|
|
+ return
|
|
|
+ }
|
|
|
fmt.Println(cell)
|
|
|
// Get all the rows in the Sheet1.
|
|
|
rows, err := f.GetRows("Sheet1")
|