summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2018-04-23 00:14:58 +0800
committerRi Xu <xuri.me@gmail.com>2018-04-23 00:14:58 +0800
commit9ee57fdb388e6e0a50dd8c945c27f051205fa23d (patch)
tree432d438a4e8cf17e655d1c6dd8097c4f24247e44 /rows.go
parent2b97c3bb463b28e3d81f714ef55798621174e0a1 (diff)
Fix typo and adding Chinese version document.
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 25a2049..78f38a3 100644
--- a/rows.go
+++ b/rows.go
@@ -182,7 +182,7 @@ func (xlsx *xlsxC) getValueFrom(f *File, d *xlsxSST) (string, error) {
}
// SetRowVisible provides a function to set visible of a single row by given
-// worksheet name and row index. For example, hide row 3 in Sheet1:
+// worksheet name and row index. For example, hide row 2 in Sheet1:
//
// xlsx.SetRowVisible("Sheet1", 2, false)
//
@@ -199,7 +199,7 @@ func (f *File) SetRowVisible(sheet string, rowIndex int, visible bool) {
}
// GetRowVisible provides a function to get visible of a single row by given
-// worksheet name and row index. For example, get visible state of row 3 in
+// worksheet name and row index. For example, get visible state of row 2 in
// Sheet1:
//
// xlsx.GetRowVisible("Sheet1", 2)