aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/item/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'item/item.go')
-rw-r--r--item/item.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/item/item.go b/item/item.go
index 3a6235f..108187a 100644
--- a/item/item.go
+++ b/item/item.go
@@ -23,6 +23,7 @@ import (
)
var db *gorm.DB
+
func init() {
db = d.DB