generated from VLADIMIR/template
fix
This commit is contained in:
@@ -6,9 +6,6 @@ import (
|
||||
proto "evening_detective_server/proto"
|
||||
)
|
||||
|
||||
// mapResultsQuestions мапит вопросы сценария в шапку итоговой таблицы:
|
||||
// правильный ответ (поле Answer) не передаётся — он виден только в панели
|
||||
// оценки (GetGameAnswers).
|
||||
func mapResultsQuestions(o []*storytelling.Question) []*proto.ResultsQuestion {
|
||||
res := make([]*proto.ResultsQuestion, 0, len(o))
|
||||
for _, item := range o {
|
||||
@@ -20,9 +17,6 @@ func mapResultsQuestions(o []*storytelling.Question) []*proto.ResultsQuestion {
|
||||
return res
|
||||
}
|
||||
|
||||
// mapTeamResults мапит строки итоговой таблицы. Команда мапится целиком
|
||||
// (включая password/applications — аудитория та же, что у GetGameAnswers:
|
||||
// организатор/автор); actionsCount продублирован на уровне строки таблицы.
|
||||
func mapTeamResults(o []answer_service.TeamResult) []*proto.TeamResult {
|
||||
res := make([]*proto.TeamResult, 0, len(o))
|
||||
for _, item := range o {
|
||||
|
||||
Reference in New Issue
Block a user