package
0.0.0-20220121052351-baa204d3636b
Repository: https://github.com/boilermake/bm-app.git
Documentation: pkg.go.dev
# README
models/
Defines how things in the database look in memory, and the service interfaces.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Authentication errors.
Authentication errors.
Authentication errors.
Authentication errors.
Raffle errors.
Authentication errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Raffle errors.
No description provided by the author
Password Reset errors.
Authentication errors.
Authentication errors.
Validation errors.
Raffle errors.
Raffle errors.
Raffle errors.
Validation errors.
Raffle errors.
Password Reset errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors.
Validation errors when form paring.
Validation errors.
No description provided by the author
Validation errors.
Validation errors.
Authentication errors.
Authentication errors.
Validation errors.
Validation errors.
Raffle errors.
Invalid raffle access.
Validation errors.
Raffle errors.
Raffle errors.
Authentication errors.
Validation errors.
Raffle errors.
Validation errors.
Authentication errors.
No description provided by the author
# Structs
An Announcement is an announcement stored in the database.
An Application is an application.
EmailModel struct for password reset emails.
No description provided by the author
PasswordResetPayload struct for resetting passwords.
A Raffle is a raffle stored in the raffles table.
No description provided by the author
A User is an account stored in the database.
# Interfaces
An AnnouncementService defines an interface between the announcement model and the db representation.
An ApplicationService defines an interface between the Application struct (AKA the model) and its representation in our database.
A RaffleService defines interface between the rsvp model and database representation of the raffles table.
An RSVPService defines an interface between the RSVP struct and its representation in our database.
A UserService defines an interface between the user struct (AKA the model) and its representation in our database.