Added rabbitmq init
parent
21e2883156
commit
43af5221f4
3
main.go
3
main.go
|
@ -24,6 +24,7 @@ package main
|
||||||
import (
|
import (
|
||||||
"git.umbach.dev/app-idea/rest-api/modules/config"
|
"git.umbach.dev/app-idea/rest-api/modules/config"
|
||||||
"git.umbach.dev/app-idea/rest-api/modules/database"
|
"git.umbach.dev/app-idea/rest-api/modules/database"
|
||||||
|
"git.umbach.dev/app-idea/rest-api/modules/rabbitmq"
|
||||||
"git.umbach.dev/app-idea/rest-api/routers/router"
|
"git.umbach.dev/app-idea/rest-api/routers/router"
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
|
@ -45,6 +46,8 @@ func main() {
|
||||||
|
|
||||||
database.InitDatabase()
|
database.InitDatabase()
|
||||||
|
|
||||||
|
rabbitmq.Init()
|
||||||
|
|
||||||
app.Listen(cfg.Host)
|
app.Listen(cfg.Host)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue