summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-04-23 13:34:24 +0800
committerxuri <xuri.me@gmail.com>2019-04-23 13:34:24 +0800
commit29b2854e53560beb3c238786929097421fa9a942 (patch)
tree77a3c014b2b5c3096b7255c3083e5777753f6492 /README.md
parent095b5fb62a4bfea5c2163e415ad26e46c8c3b720 (diff)
Update readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 472ed60..eae0072 100644
--- a/README.md
+++ b/README.md
@@ -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")