This commit is contained in:
2026-10-01 16:30:32 +07:00
parent 9f081eeee5
commit 5638349623
7 changed files with 210 additions and 67 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ func main() {
screenRepo := screen_sessions_repo.NewScreenSessionsRepo(dbpool)
screenService := screen_service.NewScreenService(screenRepo)
mapService := map_service.NewMapService(game_map_repo.NewGameMapRepo(dbpool))
reviewsRepo := game_reviews_repo.New(dbpool)
reviewsRepo := game_reviews_repo.NewGameReviewsRepo(dbpool)
gameService := game_service.NewGameService(
gameRepo,
teamRepo,
@@ -155,7 +155,7 @@ func main() {
gameplayService := gameplay_service.NewGameplayService(gameRepo, teamRepo, scenarioService, storyteller, actionsRepo, applicationsRepo, cleaner, os.Getenv("FILE_PREFIX_DOMAIN"))
answerService := answer_service.NewAnswerService(gameRepo, teamRepo, scenarioService, answersRepo, actionsRepo)
reviewService := game_review_service.New(reviewsRepo, gameRepo, teamRepo, os.Getenv("APP_BASE_URL"))
reviewService := game_review_service.NewGameReviewService(reviewsRepo, gameRepo, teamRepo, os.Getenv("APP_BASE_URL"))
teamService := team_service.NewTeamService(gameRepo, teamRepo, passwordGenerator, os.Getenv("APP_BASE_URL"), emailSender)