Files
galaxy-game/pkg/model/rest/init.go
T
2026-04-26 21:12:51 +02:00

12 lines
245 B
Go

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"`
}