prod debug

This commit is contained in:
Yanislav Igonin 2021-09-01 23:33:10 +03:00
parent af1283256c
commit 0717a89bc7

View File

@ -9,15 +9,16 @@ import (
Config "micrach/config" Config "micrach/config"
Controllers "micrach/controllers" Controllers "micrach/controllers"
Db "micrach/db"
// Db "micrach/db"
Repositories "micrach/repositories" Repositories "micrach/repositories"
// 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.Seed() Repositories.Seed()