diff options
| -rw-r--r-- | backend/handlers/mod.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/handlers/mod.go b/backend/handlers/mod.go index 95b37c8..f55784a 100644 --- a/backend/handlers/mod.go +++ b/backend/handlers/mod.go | |||
| @@ -15,7 +15,7 @@ type CreateMapSummaryRequest struct { | |||
| 15 | Description string `json:"description" binding:"required"` | 15 | Description string `json:"description" binding:"required"` |
| 16 | Showcase string `json:"showcase"` | 16 | Showcase string `json:"showcase"` |
| 17 | UserName string `json:"user_name" binding:"required"` | 17 | UserName string `json:"user_name" binding:"required"` |
| 18 | ScoreCount *int `json:"score_count" binding:"required"` | 18 | ScoreCount *int `json:"score_count"` |
| 19 | RecordDate time.Time `json:"record_date" binding:"required"` | 19 | RecordDate time.Time `json:"record_date" binding:"required"` |
| 20 | } | 20 | } |
| 21 | 21 | ||
| @@ -24,7 +24,7 @@ type EditMapSummaryRequest struct { | |||
| 24 | Description string `json:"description" binding:"required"` | 24 | Description string `json:"description" binding:"required"` |
| 25 | Showcase string `json:"showcase"` | 25 | Showcase string `json:"showcase"` |
| 26 | UserName string `json:"user_name" binding:"required"` | 26 | UserName string `json:"user_name" binding:"required"` |
| 27 | ScoreCount int `json:"score_count" binding:"required"` | 27 | ScoreCount int `json:"score_count"` |
| 28 | RecordDate time.Time `json:"record_date" binding:"required"` | 28 | RecordDate time.Time `json:"record_date" binding:"required"` |
| 29 | } | 29 | } |
| 30 | 30 | ||