mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32: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"
|
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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user