game stats shows planes and population
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package rest
|
||||
|
||||
type Init struct {
|
||||
Races []Race `json:"races" binding:"required,gte=10"`
|
||||
type InitRequest struct {
|
||||
// List of the Races in the Game
|
||||
Races []InitRace `json:"races" binding:"required,gte=10"`
|
||||
}
|
||||
|
||||
type Race struct {
|
||||
Name string `json:"name" binding:"required,notblank"`
|
||||
type InitRace struct {
|
||||
// Name of the Race
|
||||
RaceName string `json:"raceName" binding:"required,notblank"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user