Documentation ¶
Overview ¶
Package checks contains functions intended for Is, Has, etc. checks
Package checks contains functions intended for Is, Has, etc. checks
Package checks contains functions intended for Is, Has, etc. checks
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmailExists = errors.New("email already exists")
ErrEmailExists is returned when an email is already registered
View Source
var ErrUsernameExists = errors.New("username already exists")
ErrUsernameExists is returned when a username is already registered
View Source
var User *userService
User is the UserService instance
Functions ¶
func InitChecks ¶ added in v0.0.4
InitChecks initializes all the utility checks that require access to the database
Types ¶
type IPService ¶
type IPService struct {
// contains filtered or unexported fields
}
IPService is the IP service
var IP *IPService
IP provides the IP service
Click to show internal directories.
Click to hide internal directories.