// Package participation_service handles team participation. package participation_service import "evening_detective_server/internal/repos/teams_repo" func mapParticipation(p *teams_repo.Participation) *Participation { if p == nil { return nil } return &Participation{ TeamID: p.TeamID, TeamName: p.TeamName, GameName: p.GameName, StartAt: p.StartAt, ParticipantsCount: p.ParticipantsCount, Status: p.Status, Closed: p.Closed, Email: p.Email, Attempts: p.Attempts, } }