generated from VLADIMIR/template
add qr-s
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"evening_detective_server/internal/modules/cleaner"
|
||||
"evening_detective_server/internal/modules/password_generator"
|
||||
"evening_detective_server/internal/modules/storytelling"
|
||||
"evening_detective_server/internal/modules/team_qr_pdf"
|
||||
"evening_detective_server/internal/repos"
|
||||
"evening_detective_server/internal/repos/actions_repo"
|
||||
"evening_detective_server/internal/repos/applications_repo"
|
||||
@@ -29,6 +30,8 @@ type GameService struct {
|
||||
applicationsRepo *applications_repo.ApplicationsRepo
|
||||
answersRepo *team_answers_repo.TeamAnswersRepo
|
||||
cleaner cleaner.ICleaner
|
||||
teamQRGenerator team_qr_pdf.IGenerator
|
||||
appBaseURL string
|
||||
}
|
||||
|
||||
func NewGameService(
|
||||
@@ -43,6 +46,8 @@ func NewGameService(
|
||||
applicationsRepo *applications_repo.ApplicationsRepo,
|
||||
answersRepo *team_answers_repo.TeamAnswersRepo,
|
||||
cleaner cleaner.ICleaner,
|
||||
teamQRGenerator team_qr_pdf.IGenerator,
|
||||
appBaseURL string,
|
||||
) *GameService {
|
||||
return &GameService{
|
||||
gamesRepo: gamesRepo,
|
||||
@@ -56,6 +61,8 @@ func NewGameService(
|
||||
applicationsRepo: applicationsRepo,
|
||||
answersRepo: answersRepo,
|
||||
cleaner: cleaner,
|
||||
teamQRGenerator: teamQRGenerator,
|
||||
appBaseURL: appBaseURL,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user