From 9e1187a161579556bec0325fc0376e66dc9306b7 Mon Sep 17 00:00:00 2001 From: Geno Date: Fri, 3 Sep 2021 14:27:28 +0200 Subject: [PATCH] database: toml ignore DB --- database/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/main.go b/database/main.go index 76bd86e..ca3688f 100644 --- a/database/main.go +++ b/database/main.go @@ -9,7 +9,7 @@ import ( // Database struct to read from config type Database struct { - DB *gorm.DB + DB *gorm.DB `toml:"-"` Connection string `toml:"connection"` Debug bool `toml:"debug"` Testdata bool `toml:"testdata"`