error strings should not be capitalized

Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
This commit is contained in:
Zechun Chen
2023-02-15 14:30:36 +08:00
parent 4b80a2be96
commit 39bac0dbef
4 changed files with 11 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ import (
var (
// ErrEmptyPrefix is an error returned if the prefix was empty.
ErrEmptyPrefix = errors.New("Prefix can't be empty")
ErrEmptyPrefix = errors.New("prefix can't be empty")
// ErrIllegalChar is returned when a space is in the ID
ErrIllegalChar = errors.New("illegal character: ' '")