package rest type InitRequest struct { // List of the Races in the Game Races []InitRace `json:"races" binding:"required,gte=10"` } type InitRace struct { // Name of the Race RaceName string `json:"raceName" binding:"required,notblank"` }