package
0.0.0-20230422003148-015e340ad081
Repository: https://github.com/asankov/gira.git
Documentation: pkg.go.dev

# Functions

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

# Variables

ErrEmailAlreadyExists is returned when a user with the same email already exists in the database.
ErrNameAlreadyExists is the error that is returned, when a game with that name already exists in the database.
ErrNoRecord is returned when a game with that criteria does not exist in the database.
ErrUsernameAlreadyExists is returned when a user with the same username already exists in the database.
ErrWrongPassword is returned when the given password does not match the user password.

# Structs

No description provided by the author
GameModel wraps an sql.DB connection pool.
UserModel wraps a DB connection pool.