diff options
author | xuri <xuri.me@gmail.com> | 2022-03-24 00:19:30 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-03-24 00:19:30 +0800 |
commit | 8a335225c705232fe1174755a1b1ea475456b864 (patch) | |
tree | 7bae0af1f1ce3459ad429d4fbca60a5e9b35a0e1 /errors.go | |
parent | 139ee4c4b0c86dffbdca77da346e85a4cbd97b0c (diff) |
Format code, update documentation and remove exported variable `XMLHeaderByte`
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |