This commit is contained in:
2026-10-01 16:12:38 +07:00
parent f8d78b04ff
commit 06c657f593
8 changed files with 152 additions and 28 deletions
+4 -4
View File
@@ -2,7 +2,6 @@ package app
import (
"evening_detective_server/internal/repos/game_map_repo"
"evening_detective_server/internal/repos/screen_sessions_repo"
"evening_detective_server/internal/services/answer_service"
"evening_detective_server/internal/services/file_service"
"evening_detective_server/internal/services/game_review_service"
@@ -10,6 +9,7 @@ import (
"evening_detective_server/internal/services/gameplay_service"
"evening_detective_server/internal/services/participation_service"
"evening_detective_server/internal/services/scenarios_service"
"evening_detective_server/internal/services/screen_service"
"evening_detective_server/internal/services/team_service"
"evening_detective_server/internal/services/ticket_service"
"evening_detective_server/internal/services/ui_service"
@@ -31,7 +31,7 @@ type server struct {
teamService *team_service.TeamService
ticketService *ticket_service.Service
participationService *participation_service.ParticipationService
screenRepo *screen_sessions_repo.ScreenSessionsRepo
screenService *screen_service.ScreenService
mapRepo *game_map_repo.Repo
}
@@ -47,7 +47,7 @@ func NewServer(
teamService *team_service.TeamService,
ticketService *ticket_service.Service,
participationService *participation_service.ParticipationService,
screenRepo *screen_sessions_repo.ScreenSessionsRepo,
screenService *screen_service.ScreenService,
mapRepo *game_map_repo.Repo,
) proto.EveningDetectiveServerServer {
return &server{
@@ -62,7 +62,7 @@ func NewServer(
teamService: teamService,
ticketService: ticketService,
participationService: participationService,
screenRepo: screenRepo,
screenService: screenService,
mapRepo: mapRepo,
}
}