summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-03-24 00:19:30 +0800
committerxuri <xuri.me@gmail.com>2022-03-24 00:19:30 +0800
commit8a335225c705232fe1174755a1b1ea475456b864 (patch)
tree7bae0af1f1ce3459ad429d4fbca60a5e9b35a0e1 /errors.go
parent139ee4c4b0c86dffbdca77da346e85a4cbd97b0c (diff)
Format code, update documentation and remove exported variable `XMLHeaderByte`
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/errors.go b/errors.go
index 1047704..c9d18cb 100644
--- a/errors.go
+++ b/errors.go
@@ -138,9 +138,9 @@ var (
// ErrDefinedNameScope defined the error message on not found defined name
// in the given scope.
ErrDefinedNameScope = errors.New("no defined name on the scope")
- // ErrDefinedNameduplicate defined the error message on the same name
+ // ErrDefinedNameDuplicate defined the error message on the same name
// already exists on the scope.
- ErrDefinedNameduplicate = errors.New("the same name already exists on the scope")
+ ErrDefinedNameDuplicate = errors.New("the same name already exists on the scope")
// ErrCustomNumFmt defined the error message on receive the empty custom number format.
ErrCustomNumFmt = errors.New("custom number format can not be empty")
// ErrFontLength defined the error message on the length of the font