Add Infra
This commit is contained in:
+2
-1
@@ -49,10 +49,11 @@ func run(lc fx.Lifecycle, db *database.DB, apiRouter chi.Router) {
|
||||
|
||||
func main() {
|
||||
app := fx.New(
|
||||
config.Module,
|
||||
database.Module,
|
||||
repository.Module,
|
||||
internalhttp.Module,
|
||||
services.Module,
|
||||
internalhttp.Module,
|
||||
fx.Invoke(run),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user