Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Answer ¶
type Answer struct { AnswerId string `json:"answerId"` TeamId string `json:"teamId"` TeamTitle string `json:"teamTitle"` TaskId string `json:"taskId"` TaskTitle string `json:"taskTitle"` TaskDescription string `json:"taskDescription"` TaskTypeId int `json:"taskTypeId"` TaskTypeName string `json:"taskTypeName"` AnswerText string `json:"answerText"` AnswerImageBase64 string `json:"answerImageBase64"` TimeStart time.Time `json:"timeGotten"` AdditionalPoints int `json:"additionalPoints"` TaskAnswerTypeId int `json:"taskAnswerTypeId"` IsComfirmed bool `json:"isComfirmed"` }
type GetAnswers ¶
type GetAnswers struct {
Answers []Answer `json:"answers"`
}
type GetTaskTypes ¶
type GetTaskTypes struct {
TaskTypes []TaskType `json:"taskTypes"`
}
type RegisterTeam ¶
type RegisterTeam struct {
TeamID string `json:"id"`
}
RegisterTeam Структура запроса регистрации команды
type UpdateTeam ¶
type UpdateTeam struct {
TeamName string `json:"team_name"`
}
type UserProfile ¶
type UserProfile struct { ID string `json:"id"` Name string `json:"name" db:"name"` Group string `json:"group" db:"group"` Telegram string `json:"telegram" db:"telegram"` VK string `json:"vk" db:"vk"` PhoneNumber string `json:"phone_number" db:"phone_number"` Email string `json:"email" db:"email"` TeamID string `json:"team_id" db:"team_id"` IsAdmin bool `json:"is_admin" db:"is_admin"` }
Click to show internal directories.
Click to hide internal directories.