summaryrefslogtreecommitdiff
path: root/col.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-06-28 17:03:20 +0800
committerRi Xu <xuri.me@gmail.com>2017-06-28 17:03:20 +0800
commit66e5d1fa801680f87a647a968fd4965ef9668b9a (patch)
tree81ae32157618a3c693b94013f11d45929cc038a8 /col.go
parent555e2ba9a82d6974077681c7ab34ce0fa93d351d (diff)
API changed, use `NewFile()` instead of `CreateFile()` and use `SaveAs()` instead of `WriteTo()`.
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 {