mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
fix: disable db
This commit is contained in:
parent
c3e4bf7204
commit
51fd582a31
6
main.go
6
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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user