generated from VLADIMIR/template
add base
This commit is contained in:
@@ -19,6 +19,7 @@ import (
|
||||
"evening_detective_server/internal/repos/games_repo"
|
||||
"evening_detective_server/internal/repos/refresh_tokens_repo"
|
||||
"evening_detective_server/internal/repos/scenarios_repo"
|
||||
"evening_detective_server/internal/repos/screen_sessions_repo"
|
||||
"evening_detective_server/internal/repos/team_answers_repo"
|
||||
"evening_detective_server/internal/repos/teams_repo"
|
||||
"evening_detective_server/internal/repos/users_repo"
|
||||
@@ -128,6 +129,7 @@ func main() {
|
||||
actionsRepo := actions_repo.NewActionsRepo(dbpool)
|
||||
applicationsRepo := applications_repo.NewApplicationsRepo(dbpool)
|
||||
answersRepo := team_answers_repo.NewTeamAnswersRepo(dbpool)
|
||||
screenRepo := screen_sessions_repo.NewScreenSessionsRepo(dbpool)
|
||||
gameService := game_service.NewGameService(
|
||||
gameRepo,
|
||||
teamRepo,
|
||||
@@ -172,6 +174,8 @@ func main() {
|
||||
"/crabs.evening_detective_server.EveningDetectiveServer/GetTerms": true,
|
||||
"/crabs.evening_detective_server.EveningDetectiveServer/GetPrivacy": true,
|
||||
"/crabs.evening_detective_server.EveningDetectiveServer/GetConsent": true,
|
||||
"/crabs.evening_detective_server.EveningDetectiveServer/CreateScreenSession": true,
|
||||
"/crabs.evening_detective_server.EveningDetectiveServer/GetScreenState": true,
|
||||
},
|
||||
processorJWT,
|
||||
),
|
||||
@@ -186,6 +190,7 @@ func main() {
|
||||
fileService,
|
||||
scenarioService,
|
||||
gameService,
|
||||
screenRepo,
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user