summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-06-20 00:00:40 +0800
committerxuri <xuri.me@gmail.com>2019-06-20 00:00:40 +0800
commit9f8623047d2fc38e12c3b214475710d25ec88c55 (patch)
treea28a18d8953200d5a9c2a723ffceb456ff41b81c /rows.go
parente77c462d3f1c29b009186d42832e6d5f42ac069f (diff)
Optimize code, fix golint issues
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rows.go b/rows.go
index 064fefe..3079d5a 100644
--- a/rows.go
+++ b/rows.go
@@ -21,7 +21,7 @@ import (
// GetRows return all the rows in a sheet by given worksheet name (case
// sensitive). For example:
//
-// rows, err := f.GetRows("Sheet1")
+// rows, err := f.GetRows("Sheet1")
// for _, row := range rows {
// for _, colCell := range row {
// fmt.Print(colCell, "\t")
@@ -160,7 +160,7 @@ func (err ErrSheetNotExist) Error() string {
//
// rows, err := f.Rows("Sheet1")
// for rows.Next() {
-// row, err := rows.Columns()
+// row, err := rows.Columns()
// for _, colCell := range row {
// fmt.Print(colCell, "\t")
// }