summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-04-23 00:10:23 +0800
committerRi Xu <xuri.me@gmail.com>2017-04-23 00:10:23 +0800
commit219aadeb7659ccee887e7d70c1711ee6dd50f35f (patch)
treee3465658b75adf4e96aec1e162516b6440c55a63 /rows.go
parent6e287839ecc64396a6e40fb15cc62363fca6ca7a (diff)
- Initialize char support, relate issue #31;
- Doc for function `GetRows()` updated, relate issue #43; - Fix doc typo in `xmlContentTypes.go`; - Default template updated; - Readme updated; - go test updated
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/rows.go b/rows.go
index b76a823..b753fcd 100644
--- a/rows.go
+++ b/rows.go
@@ -6,9 +6,10 @@ import (
"strings"
)
-// GetRows return all the rows in a sheet, for example:
+// GetRows return all the rows in a sheet by given "sheet" + index, for example:
//
-// rows := xlsx.GetRows("Sheet2")
+// index := xlsx.GetSheetIndex("Sheet2")
+// rows := xlsx.GetRows("sheet" + strconv.Itoa(index))
// for _, row := range rows {
// for _, colCell := range row {
// fmt.Print(colCell, "\t")