diff options
Diffstat (limited to 'file.go')
-rw-r--r-- | file.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,7 +23,7 @@ import ( // NewFile provides a function to create new file by default template. For // example: // -// xlsx := NewFile() +// f := NewFile() // func NewFile() *File { file := make(map[string][]byte) @@ -54,7 +54,7 @@ func NewFile() *File { return f } -// Save provides a function to override the xlsx file with origin path. +// Save provides a function to override the spreadsheet with origin path. func (f *File) Save() error { if f.Path == "" { return fmt.Errorf("no path defined for file, consider File.WriteTo or File.Write") @@ -62,7 +62,7 @@ func (f *File) Save() error { return f.SaveAs(f.Path) } -// SaveAs provides a function to create or update to an xlsx file at the +// SaveAs provides a function to create or update to an spreadsheet at the // provided path. func (f *File) SaveAs(name string, opt ...Options) error { if len(name) > MaxFileNameLength { |