Files
galaxy-game/pkg/model/rest/init.go
T
2026-03-10 15:46:18 +02:00

10 lines
167 B
Go

package rest
type Init struct {
Races []Race `json:"races" binding:"required,gte=10"`
}
type Race struct {
Name string `json:"name" binding:"required,notblank"`
}