Files
galaxy-game/internal/model/rest/init.go
T
Ilia Denisov 972cfd82be feat: init api
2026-01-08 13:32:40 +02:00

16 lines
260 B
Go

package rest
import "github.com/google/uuid"
type Init struct {
Races []Race `json:"races" binding:"required,gte=10"`
}
type Race struct {
Name string `json:"name" binding:"required,notblank"`
}
type InitResponse struct {
UUID uuid.UUID `json:"uuid"`
}