Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
DB variable represents our connection to the database
Functions ¶
func ConnectDatabase ¶
func ConnectDatabase()
ConnectDatabase opens a sqllite3 database connection, and migrates the created models
Types ¶
Click to show internal directories.
Click to hide internal directories.