diff options
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 b8c0201..4e1f56f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -1,7 +1,7 @@ <p align="center"><img width="650" src="./excelize.svg" alt="Excelize logo"></p> <p align="center"> - <a href="https://travis-ci.org/360EntSecGroup-Skylar/excelize"><img src="https://travis-ci.org/360EntSecGroup-Skylar/excelize.svg?branch=master" alt="Build Status"></a> + <a href="https://github.com/360EntSecGroup-Skylar/excelize/actions/workflows/go.yml"><img src="https://github.com/360EntSecGroup-Skylar/excelize/actions/workflows/go.yml/badge.svg" alt="Build Status"></a> <a href="https://codecov.io/gh/360EntSecGroup-Skylar/excelize"><img src="https://codecov.io/gh/360EntSecGroup-Skylar/excelize/branch/master/graph/badge.svg" alt="Code Coverage"></a> <a href="https://goreportcard.com/report/github.com/360EntSecGroup-Skylar/excelize"><img src="https://goreportcard.com/badge/github.com/360EntSecGroup-Skylar/excelize" alt="Go Report Card"></a> <a href="https://pkg.go.dev/github.com/360EntSecGroup-Skylar/excelize/v2?tab=doc"><img src="https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white" alt="go.dev"></a> @@ -86,6 +86,10 @@ func main() { fmt.Println(cell) // 获取 Sheet1 上所有单元格 rows, err := f.GetRows("Sheet1") + if err != nil { + fmt.Println(err) + return + } for _, row := range rows { for _, colCell := range row { fmt.Print(colCell, "\t") |