package
Version:
v0.0.0-...-1d0deca
Opens a new window with list of versions in this module.
Published: Jan 29, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BackendDB: package variable of type Database for easy access across backend
type Database struct {
DB *gorm.DB
}
Database: type for holding generic database, DB is the database pointer
Init : open database stream in BackendDB variable (create database if not present)
Destroy : Close the Database
Source Files
¶
Click to show internal directories.
Click to hide internal directories.