summaryrefslogtreecommitdiff
path: root/cell.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 /cell.go
parentcf9fbafdd805874267a0f5d27fd1c720b148ec91 (diff)
Reduce cyclomatic complexities for the formula calculate function and update documentation for the API: `MergeCell` and `GetCellValue`
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cell.go b/cell.go
index ad94038..f44e877 100644
--- a/cell.go
+++ b/cell.go
@@ -34,7 +34,8 @@ const (
// GetCellValue provides a function to get formatted value from cell by given
// worksheet name and axis in spreadsheet file. If it is possible to apply a
// format to the cell value, it will do so, if not then an error will be
-// returned, along with the raw value of the cell.
+// returned, along with the raw value of the cell. All cells value will be
+// same in a merged range.
func (f *File) GetCellValue(sheet, axis string) (string, error) {
return f.getCellStringFunc(sheet, axis, func(x *xlsxWorksheet, c *xlsxC) (string, bool, error) {
val, err := c.getValueFrom(f, f.sharedStringsReader())