From 51fd582a319422c7cd7c7cd3059b20add3bd013e Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Mon, 30 Aug 2021 23:46:52 +0300 Subject: [PATCH] fix: disable db --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 70e434d..8dc8123 100644 --- a/main.go +++ b/main.go @@ -9,15 +9,15 @@ import ( Config "micrach/config" Controllers "micrach/controllers" - Db "micrach/db" Repositories "micrach/repositories" + // Db "micrach/db" // 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.SeedMocks()