Files
galaxy-game/internal/model/rest/init.go
T
2026-02-12 14:27:56 +03: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"`
}