Documentation ¶
Overview ¶
Package storage contains database and ORM layers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //nolint:varnamelen DB *gorm.DB )
DB is the global variable to hold the database access.
Functions ¶
func InitDB ¶
func InitDB(config *configuration.Config) error
InitDB is a wrapper around initialization of the selected database type.
Types ¶
Click to show internal directories.
Click to hide internal directories.