diff options
author | xuri <xuri.me@gmail.com> | 2019-04-23 13:34:24 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-04-23 13:34:24 +0800 |
commit | 29b2854e53560beb3c238786929097421fa9a942 (patch) | |
tree | 77a3c014b2b5c3096b7255c3083e5777753f6492 /README_zh.md | |
parent | 095b5fb62a4bfea5c2163e415ad26e46c8c3b720 (diff) |
Update readme
Diffstat (limited to 'README_zh.md')
-rw-r--r-- | README_zh.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/README_zh.md b/README_zh.md index addc9f2..dfed749 100644 --- a/README_zh.md +++ b/README_zh.md @@ -73,7 +73,11 @@ func main() { return } // 获取工作表中指定单元格的值 - cell := f.GetCellValue("Sheet1", "B2") + cell, err := f.GetCellValue("Sheet1", "B2") + if err != nil { + fmt.Println(err) + return + } fmt.Println(cell) // 获取 Sheet1 上所有单元格 rows, err := f.GetRows("Sheet1") |