This commit is contained in:
2026-10-01 16:16:43 +07:00
parent 06c657f593
commit 9f081eeee5
6 changed files with 106 additions and 16 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
package app
import (
"evening_detective_server/internal/repos/game_map_repo"
"evening_detective_server/internal/services/answer_service"
"evening_detective_server/internal/services/file_service"
"evening_detective_server/internal/services/game_review_service"
"evening_detective_server/internal/services/game_service"
"evening_detective_server/internal/services/gameplay_service"
"evening_detective_server/internal/services/map_service"
"evening_detective_server/internal/services/participation_service"
"evening_detective_server/internal/services/scenarios_service"
"evening_detective_server/internal/services/screen_service"
@@ -32,7 +32,7 @@ type server struct {
ticketService *ticket_service.Service
participationService *participation_service.ParticipationService
screenService *screen_service.ScreenService
mapRepo *game_map_repo.Repo
mapService *map_service.MapService
}
func NewServer(
@@ -48,7 +48,7 @@ func NewServer(
ticketService *ticket_service.Service,
participationService *participation_service.ParticipationService,
screenService *screen_service.ScreenService,
mapRepo *game_map_repo.Repo,
mapService *map_service.MapService,
) proto.EveningDetectiveServerServer {
return &server{
usersService: usersService,
@@ -63,6 +63,6 @@ func NewServer(
ticketService: ticketService,
participationService: participationService,
screenService: screenService,
mapRepo: mapRepo,
mapService: mapService,
}
}