add tacking

This commit is contained in:
Fran Jurmanović
2025-05-24 00:44:26 +02:00
parent 31a2b73cf9
commit edf5a2c8c4
11 changed files with 210 additions and 12 deletions

View File

@@ -40,6 +40,13 @@ func Init(di *dig.Container, app *fiber.App) {
if err != nil {
panic("unable to bind routes")
}
err = di.Provide(func() *dig.Container {
return di
})
if err != nil {
panic("unable to bind dig")
}
controller.InitializeControllers(di)
}