Spaces:
Running
Running
| package models | |
| const ( | |
| StatusNotStarted = "NOT_STARTED" | |
| StatusInProgress = "IN_PROGRESS" | |
| StatusFinished = "FINISHED" | |
| ) | |
| const ( | |
| EventStatusUpcoming = "UPCOMING" | |
| EventStatusOngoing = "ONGOING" | |
| EventStatusEnded = "ENDED" | |
| ) | |
| const ( | |
| PaymentStatusPending = "PENDING" | |
| PaymentStatusPaid = "PAID" | |
| PaymentStatusFailed = "FAILED" | |
| PaymentStatusExpired = "EXPIRED" | |
| ) | |
| const MB = 1024 * 1024 | |
| type Pagination struct { | |
| Limit int | |
| Offset int | |
| Search string | |
| SortBy string | |
| Order string | |
| RegisterStatus *int | |
| Status *string | |
| Role string | |
| } | |
| var QuestionTypes = []string{ | |
| "description", | |
| "multiple_choice", | |
| "multiple_choices", | |
| "multiple_choice_complex", | |
| "multiple_choices_complex", | |
| "short_answer", | |
| "upload_file", | |
| "true_false", | |
| "code_puzzle", | |
| "code_type", | |
| "competitive_programming", | |
| } | |