diff options
author | xuri <xuri.me@gmail.com> | 2021-08-09 22:22:43 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-08-09 22:22:43 +0800 |
commit | c49e7aab306437f0e721620af4a24364edf4d601 (patch) | |
tree | 88ffb72996214d993626083487860f699de8bdf5 /cell.go | |
parent | cf9fbafdd805874267a0f5d27fd1c720b148ec91 (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.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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()) |