Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitErrorMap ¶
Types ¶
type Error ¶
type Error int
const ( Success Error = 0 Default Error = 10000000 UserNotFound Error = 10000001 EmailIsExist Error = 10000002 NickNameIsEmpty Error = 10000003 EmailIsEmpty Error = 10000004 PasswordIsEmpty Error = 10000005 PasswordIsError Error = 10000006 EmailIsLocked Error = 10000007 TitleOrContentIsEmpty Error = 10000008 CategoryNotFound Error = 10000009 CategoryIsEmpty Error = 10000010 CategoryIsExist Error = 10000011 )
Click to show internal directories.
Click to hide internal directories.