Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUserEmailNotFound = errors.New("user with the email not found") ErrUserEmailAlreadyExists = errors.New("user with the email already exists") )
Functions ¶
func NewPostgresStore ¶ added in v1.8.2
Types ¶
type User ¶
func (*User) ValidateForCreate ¶ added in v1.8.2
ValidateForCreate runs the validation required for when a user is being created. i.e. ID is not available
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(store store) *Users
func (*Users) AsyncCreateUsers ¶ added in v1.8.2
func (*Users) CreateUser ¶
Click to show internal directories.
Click to hide internal directories.