代码拉取完成,页面将自动刷新
package eztools
import "errors"
const (
// defValidID is the smallest valid ID, different from the default
defValidID = DefID + 1
// DefID is the default ID
DefID = 0
// AllID stands for all items
AllID = DefID - 1
// InvalidID better to be negative to be different from a normal ID
// it is used as indexes into slices, too
InvalidID = DefID - 2 //pairs defined some related
)
var (
// ErrNoValidResults stands for no valid results
ErrNoValidResults = errors.New("No Valid results")
// ErrOutOfBound stands for out of bound
ErrOutOfBound = errors.New("Out of bound")
// ErrInvalidInput stands for invalid input
ErrInvalidInput = errors.New("Invalid input")
// ErrInExistence stands for result from input already in existence
ErrInExistence = errors.New("In Existence")
// ErrAccess stands for access failure, such as privilege, collision
ErrAccess = errors.New("Access failure")
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。