generated from VLADIMIR/template
add AnswerService
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"evening_detective_server/internal/modules/string_tools"
|
||||
"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_service"
|
||||
"evening_detective_server/internal/services/participation_service"
|
||||
@@ -25,6 +26,7 @@ type server struct {
|
||||
fileService *file_service.FileService
|
||||
scenarioService *scenarios_service.ScenarioService
|
||||
gameService *game_service.GameService
|
||||
answerService *answer_service.AnswerService
|
||||
teamService *team_service.TeamService
|
||||
participationService *participation_service.ParticipationService
|
||||
screenRepo *screen_sessions_repo.ScreenSessionsRepo
|
||||
@@ -37,6 +39,7 @@ func NewServer(
|
||||
fileService *file_service.FileService,
|
||||
scenarioService *scenarios_service.ScenarioService,
|
||||
gameService *game_service.GameService,
|
||||
answerService *answer_service.AnswerService,
|
||||
teamService *team_service.TeamService,
|
||||
participationService *participation_service.ParticipationService,
|
||||
screenRepo *screen_sessions_repo.ScreenSessionsRepo,
|
||||
@@ -48,6 +51,7 @@ func NewServer(
|
||||
fileService: fileService,
|
||||
scenarioService: scenarioService,
|
||||
gameService: gameService,
|
||||
answerService: answerService,
|
||||
teamService: teamService,
|
||||
participationService: participationService,
|
||||
screenRepo: screenRepo,
|
||||
|
||||
Reference in New Issue
Block a user