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"
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()