generated from VLADIMIR/template
fix
This commit is contained in:
@@ -28,13 +28,3 @@ func mapTeamDetails(o *game_model.Team) *proto.Team {
|
||||
team.ParticipantsCount = o.ParticipantsCount
|
||||
return team
|
||||
}
|
||||
|
||||
func mapTeams(
|
||||
o []*game_model.Team,
|
||||
) []*proto.Team {
|
||||
res := make([]*proto.Team, 0, len(o))
|
||||
for _, item := range o {
|
||||
res = append(res, mapTeam(item))
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user