8f982278d2
* add multimodule * re-package modules
10 lines
167 B
Go
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"`
|
|
}
|