package
0.0.0-20220825045753-1c9c1f08487d
Repository: https://github.com/apigban/pocqui.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

ErrEmailInvalid is returned when an email address provided does not match any of our formatting requirements.
ErrEmailRequired is returned when no email address is provided when a user is created.
ErrEmailTaken is returned when an update or create is attempted with an email address that is already in use.
ErrIDInvalid is returned when an invalid ID is provided to a method like Delete().
ErrNotFound is returned when a resource is not found in the database.
No description provided by the author
ErrPasswordRequired is returned when a create is attempted without a password.
ErrPasswordTooShort is returned when an update or create is attempted with a password <8 characters.
ErrRememberRequired is returned when a create or update is attempted without without a user remember token hash.
ErrRememberTooShort is returned when a remember token is not atlease 32 bytes in length.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
User represents the user model in the database.

# Interfaces

No description provided by the author
No description provided by the author
UserDB is used to interact with the users database.
UserService is a set of methods used to manipulate and work with the user model.