summaryrefslogtreecommitdiff
path: root/rows.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 /rows.go
parent555e2ba9a82d6974077681c7ab34ce0fa93d351d (diff)
API changed, use `NewFile()` instead of `CreateFile()` and use `SaveAs()` instead of `WriteTo()`.
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rows.go b/rows.go
index 1d94a6c..a913b7a 100644
--- a/rows.go
+++ b/rows.go
@@ -103,7 +103,7 @@ func (f *File) getTotalRowsCols(sheet string) (int, int) {
// SetRowHeight provides a function to set the height of a single row.
// For example:
//
-// xlsx := excelize.CreateFile()
+// xlsx := excelize.NewFile()
// xlsx.SetRowHeight("Sheet1", 0, 50)
// err := xlsx.Save()
// if err != nil {