dao

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL