summaryrefslogtreecommitdiff
path: root/merge.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-08-09 22:22:43 +0800
committerxuri <xuri.me@gmail.com>2021-08-09 22:22:43 +0800
commitc49e7aab306437f0e721620af4a24364edf4d601 (patch)
tree88ffb72996214d993626083487860f699de8bdf5 /merge.go
parentcf9fbafdd805874267a0f5d27fd1c720b148ec91 (diff)
Reduce cyclomatic complexities for the formula calculate function and update documentation for the API: `MergeCell` and `GetCellValue`
Diffstat (limited to 'merge.go')
-rw-r--r--merge.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/merge.go b/merge.go
index 1f8974e..7769b89 100644
--- a/merge.go
+++ b/merge.go
@@ -17,7 +17,9 @@ import (
)
// MergeCell provides a function to merge cells by given coordinate area and
-// sheet name. For example create a merged cell of D3:E9 on Sheet1:
+// sheet name. Merging cells only keeps the upper-left cell value, and
+// discards the other values. For example create a merged cell of D3:E9 on
+// Sheet1:
//
// err := f.MergeCell("Sheet1", "D3", "E9")
//