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