Documentation ¶
Index ¶
Constants ¶
View Source
const ( UniqueConstraintUsername = "users_username_key" UniqueConstraintEmail = "users_email_key" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmailDuplicateError ¶
type EmailDuplicateError struct {
Email string
}
func (*EmailDuplicateError) Error ¶
func (e *EmailDuplicateError) Error() string
type EmailNotExistsError ¶
type EmailNotExistsError struct{}
func (*EmailNotExistsError) Error ¶
func (*EmailNotExistsError) Error() string
type UsernameDuplicateError ¶
type UsernameDuplicateError struct {
Username string
}
func (*UsernameDuplicateError) Error ¶
func (e *UsernameDuplicateError) Error() string
Click to show internal directories.
Click to hide internal directories.