fix: disable db

This commit is contained in:
Yanislav Igonin 2021-08-30 23:46:52 +03:00
parent c3e4bf7204
commit 51fd582a31

View File

@ -9,15 +9,15 @@ import (
Config "micrach/config" Config "micrach/config"
Controllers "micrach/controllers" Controllers "micrach/controllers"
Db "micrach/db"
Repositories "micrach/repositories" Repositories "micrach/repositories"
// Db "micrach/db"
// Utils "micrach/utils" // Utils "micrach/utils"
) )
func main() { func main() {
Config.Init() Config.Init()
Db.Init() // Db.Init()
defer Db.Pool.Close() // defer Db.Pool.Close()
gin.SetMode(Config.App.Env) gin.SetMode(Config.App.Env)
Repositories.SeedMocks() Repositories.SeedMocks()