summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
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")