database: toml ignore DB
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
This commit is contained in:
parent
3e90199d98
commit
9e1187a161
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
// Database struct to read from config
|
// Database struct to read from config
|
||||||
type Database struct {
|
type Database struct {
|
||||||
DB *gorm.DB
|
DB *gorm.DB `toml:"-"`
|
||||||
Connection string `toml:"connection"`
|
Connection string `toml:"connection"`
|
||||||
Debug bool `toml:"debug"`
|
Debug bool `toml:"debug"`
|
||||||
Testdata bool `toml:"testdata"`
|
Testdata bool `toml:"testdata"`
|
||||||
|
|
Loading…
Reference in New Issue