package
0.0.0-20240212231738-c2f4dd811fe3
Repository: https://github.com/hanya-ahmad/ideanest-assessment.git
Documentation: pkg.go.dev

# Functions

ConfigureDB loads the configuration settings for the database.

# Variables

ErrOrganizationExists is raised when a new organization is added with a name linked to an existing organization.
ErrUserExists is raised when a new user is added with an email linked to a registered user.
ErrUserNotFound is raised when a nonexisting user tries to sign in.

# Structs

DBClient is used query the database.
DBConfiguration struct to hold configuration settings.
Member struct contains Member's table fields NOTE: Member CRUD operations are not implemented.
Organization struct contains Organization's table fields.
RefreshToken contains the /refresh-token request body.
SignInInput contains user's signin input.
User struct contains User's table fields.