mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
prod debug
This commit is contained in:
parent
af1283256c
commit
0717a89bc7
7
main.go
7
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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user