Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrCodeDaoCannotInsert errors.Code = -1001 ErrCodeDaoCannotUpdate errors.Code = -1002 ErrCodeDaoCannotDelete errors.Code = -1003 ErrCodeDaoCannotSelect errors.Code = -1004 ErrCodeAuthWrongPassword errors.Code = -1011 )
View Source
const (
DefaultLimitValue = 10
)
View Source
const UserRelationTableName = "t_user_relation"
Variables ¶
View Source
var ( ErrDaoCannotInsert = ErrCodeDaoCannotInsert.New("[DAO] Cannot insert") ErrDaoCannotUpdate = ErrCodeDaoCannotUpdate.New("[DAO] Cannot update") ErrDaoCannotDelete = ErrCodeDaoCannotDelete.New("[DAO] Cannot delete") ErrDaoCannotSelect = ErrCodeDaoCannotSelect.New("[DAO] Cannot select") ErrBadParams = errors.InvalidArgument.New("Bad Params") ErrAuthWrongPassword = ErrCodeAuthWrongPassword.New("Wrong Password") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.