From f10ee929d0818f6327f33c7813eaa9a318555cc3 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Tue, 31 Oct 2017 16:33:36 +0800 Subject: - Bugfix: use sheet name in func `AddPicture`, relate issue #142; - godoc updated --- excelize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'excelize.go') diff --git a/excelize.go b/excelize.go index 73c6eda..0056e79 100644 --- a/excelize.go +++ b/excelize.go @@ -78,7 +78,7 @@ func (f *File) setDefaultTimeStyle(sheet, axis string) { } // workSheetReader provides function to get the pointer to the structure after -// deserialization by given worksheet index. +// deserialization by given worksheet name. func (f *File) workSheetReader(sheet string) *xlsxWorksheet { name, ok := f.sheetMap[trimSheetName(sheet)] if !ok { -- cgit v1.2.1