summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-05-12 23:26:26 +0800
committerxuri <xuri.me@gmail.com>2020-05-12 23:26:26 +0800
commitdfea8f96edc326717822ec9c4b92f462d0fe1255 (patch)
tree06f08a3fc2321fd83f45f3a3896f7bed6bce67e8 /sheet.go
parent0feb819d4c08ab52e806214b23d673001bd9fe3e (diff)
- New API: SetSheetFormatPr and GetSheetFormatPr
- typo fix, resolve #635
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sheet.go b/sheet.go
index fa858af..6a935b1 100644
--- a/sheet.go
+++ b/sheet.go
@@ -354,7 +354,7 @@ func (f *File) getSheetID(name string) int {
// GetSheetIndex provides a function to get a sheet index of the workbook by
// the given sheet name. If the given sheet name is invalid, it will return an
-// integer type value -1.
+// integer type value 0.
func (f *File) GetSheetIndex(name string) int {
var idx = -1
for index, sheet := range f.GetSheetList() {