diff options
author | xuri <xuri.me@gmail.com> | 2021-07-05 00:03:56 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-07-05 00:03:56 +0800 |
commit | 544ef18a8cb9949fcb8833c6d2816783c90f3318 (patch) | |
tree | 88bb3eaa9d92522d3b5c4eeb052210c26bc4c99f /sparkline.go | |
parent | 0e02329bedf6648259fd219642bb907bdb07fd21 (diff) |
- Support concurrency iterate rows and columns
- Rename exported field `File.XLSX` to `File.Pkg`
- Exported error message
Diffstat (limited to 'sparkline.go')
-rw-r--r-- | sparkline.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sparkline.go b/sparkline.go index 150c0ea..5326c60 100644 --- a/sparkline.go +++ b/sparkline.go @@ -467,7 +467,7 @@ func (f *File) parseFormatAddSparklineSet(sheet string, opt *SparklineOption) (* return ws, err } if opt == nil { - return ws, errors.New("parameter is required") + return ws, ErrParameterRequired } if len(opt.Location) < 1 { return ws, errors.New("parameter 'Location' is required") |