Documentation ¶
Overview ¶
Package orm provides `GORM` helpers for the creation, migration and access on the project's database
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORM ¶
ORM struct to holds the gorm pointer to db
func Init ¶
Init creates a db connection with the selected dialect and connection along with running all the db migrations
func (*ORM) FindUserByAPIKey ¶
FindUserByAPIKey finds the user that is related to the API key
func (*ORM) FindUserByJWT ¶
FindUserByJWT finds the user that is related to the APIKey token
Click to show internal directories.
Click to hide internal directories.