This commit is contained in:
2026-10-11 02:23:45 +07:00
parent 62b623d3ca
commit 72ecdc0687
18 changed files with 2520 additions and 1 deletions
+4
View File
@@ -4,6 +4,7 @@ import (
"evening_detective_server/internal/services/answer_service"
"evening_detective_server/internal/services/file_service"
"evening_detective_server/internal/services/game_export_service"
"evening_detective_server/internal/services/game_import_service"
"evening_detective_server/internal/services/game_review_service"
"evening_detective_server/internal/services/game_service"
"evening_detective_server/internal/services/gameplay_service"
@@ -30,6 +31,7 @@ type server struct {
fileService *file_service.FileService
scenarioService *scenarios_service.ScenarioService
gameExportService *game_export_service.GameExportService
gameImportService *game_import_service.GameImportService
gameService *game_service.GameService
gameplayService *gameplay_service.GameplayService
answerService *answer_service.AnswerService
@@ -62,8 +64,10 @@ func NewServer(
mapService *map_service.MapService,
taskService *task_service.TaskService,
gameExportService *game_export_service.GameExportService,
gameImportService *game_import_service.GameImportService,
) proto.EveningDetectiveServerServer {
return &server{
gameImportService: gameImportService,
taskService: taskService,
gameExportService: gameExportService,
usersService: usersService,