Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *gorm.DB
Db is the database connection
Functions ¶
func CloseDatabase ¶
func CloseDatabase()
func CreateTableIfNotExists ¶
func CreateTableIfNotExists(modelType interface{})
func InitDatabase ¶
func InitDatabase() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.