package
Version:
v0.0.0-...-a4e7b05
Opens a new window with list of versions in this module.
Published: Dec 10, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
DatabaseURI string
DatabaseType string
}
Config is the database configuration struct.
NewConfig returns the configuration object.
type Database struct {
*gorm.DB
}
Database is the database connection.
NewConnection returns a new database connection.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.