generated from VLADIMIR/template
up
This commit is contained in:
@@ -27,6 +27,7 @@ import (
|
||||
"evening_detective_server/internal/services/file_service"
|
||||
"evening_detective_server/internal/services/game_service"
|
||||
"evening_detective_server/internal/services/mcp_service"
|
||||
"evening_detective_server/internal/services/participation_service"
|
||||
"evening_detective_server/internal/services/scenarios_service"
|
||||
"evening_detective_server/internal/services/ui_service"
|
||||
"evening_detective_server/internal/services/users_service"
|
||||
@@ -148,7 +149,8 @@ func main() {
|
||||
os.Getenv("APP_BASE_URL"),
|
||||
)
|
||||
|
||||
go gameService.RunParticipationEmails(context.Background(), emailSender, os.Getenv("PARTICIPATION_SECRET"), os.Getenv("GAME_TIMEZONE"))
|
||||
participationService := participation_service.NewParticipationService(teamRepo, os.Getenv("APP_BASE_URL"))
|
||||
go participationService.RunParticipationEmails(context.Background(), emailSender, os.Getenv("PARTICIPATION_SECRET"), os.Getenv("GAME_TIMEZONE"))
|
||||
|
||||
// Create a listener on TCP port
|
||||
lis, err := net.Listen("tcp", ":8080")
|
||||
@@ -197,6 +199,7 @@ func main() {
|
||||
fileService,
|
||||
scenarioService,
|
||||
gameService,
|
||||
participationService,
|
||||
screenRepo,
|
||||
mapRepo,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user