diff options
author | xuri <xuri.me@gmail.com> | 2020-10-22 08:29:25 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-10-22 08:29:25 +0800 |
commit | b812e9a1a8ebe9ab22c51553eb46b1f1cff1f7c1 (patch) | |
tree | be006e34cbc796804b6fc91a9214376c2ba06907 /sheet.go | |
parent | 4834a058aa3f953a7010704f2358633ae6e1d492 (diff) |
New formula function AND (#701) and update doc for the NewSheet (#714)
Diffstat (limited to 'sheet.go')
-rw-r--r-- | sheet.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -31,10 +31,10 @@ import ( "github.com/mohae/deepcopy" ) -// NewSheet provides function to create a new sheet by given worksheet name. -// When creating a new spreadsheet file, the default worksheet will be -// created. Returns the number of sheets in the workbook (file) after -// appending the new sheet. +// NewSheet provides the function to create a new sheet by given a worksheet +// name and returns the index of the sheets in the workbook +// (spreadsheet) after it appended. Note that when creating a new spreadsheet +// file, the default worksheet named `Sheet1` will be created. func (f *File) NewSheet(name string) int { // Check if the worksheet already exists index := f.GetSheetIndex(name) |