summaryrefslogtreecommitdiff
path: root/col.go
diff options
context:
space:
mode:
Diffstat (limited to 'col.go')
-rw-r--r--col.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/col.go b/col.go
index 2081e40..56c114e 100644
--- a/col.go
+++ b/col.go
@@ -69,7 +69,7 @@ func (f *File) SetColVisible(sheet, column string, visible bool) {
// SetColWidth provides function to set the width of a single column or multiple
// columns. For example:
//
-// xlsx := excelize.CreateFile()
+// xlsx := excelize.NewFile()
// xlsx.SetColWidth("Sheet1", "A", "H", 20)
// err := xlsx.Save()
// if err != nil {