=setup post data
This commit is contained in:
parent
b0c64d01e9
commit
47489abb1e
11 changed files with 306 additions and 157 deletions
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue