From 8a335225c705232fe1174755a1b1ea475456b864 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 24 Mar 2022 00:19:30 +0800 Subject: Format code, update documentation and remove exported variable `XMLHeaderByte` --- errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'errors.go') 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 -- cgit v1.2.1