Priority/backend.light/priority.go

20 lines
382 B
Go
Raw Normal View History

2024-01-11 12:12:25 +00:00
package main
type Priority struct {
Surfers []Surfer `json:"surfers"`
Count int `json:"count"`
2024-01-12 15:27:29 +01:00
Round Round `json:"round"`
2024-01-11 12:12:25 +00:00
}
type Surfer struct {
Name string `json:"name"`
Color string `json:"color"`
Priority string `json:"priority"`
}
2024-01-12 15:27:29 +01:00
type Round struct {
Name string `json:"name"`
Heat int `json:"heat"`
Category string `json:"category"`
}