From 0717a89bc7b14c4231b07f817de3f1e95b5a95b2 Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Wed, 1 Sep 2021 23:33:10 +0300 Subject: [PATCH] prod debug --- main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index e350ef1..5ea44dd 100644 --- a/main.go +++ b/main.go @@ -9,15 +9,16 @@ import ( Config "micrach/config" Controllers "micrach/controllers" - Db "micrach/db" + + // Db "micrach/db" Repositories "micrach/repositories" // Utils "micrach/utils" ) func main() { Config.Init() - Db.Init() - defer Db.Pool.Close() + // Db.Init() + // defer Db.Pool.Close() gin.SetMode(Config.App.Env) Repositories.Seed()