=setup post data

This commit is contained in:
Miki 2023-12-13 11:57:12 +01:00
parent b0c64d01e9
commit 47489abb1e
11 changed files with 306 additions and 157 deletions

View file

@ -8,15 +8,17 @@ import (
)
type Surfer struct {
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Color string `json:"color"`
Name string `json:"name"`
Color string `json:"color"`
Priority string `json:"priority"`
Score string `json:"score"`
}
type Heat struct {
Name string `json:"name"`
Category string `json:"category"`
Number string `json:"number"`
Number int `json:"number"`
Timer int `json:"timer"`
Surfers []Surfer `json:"surfers"`
}