17 lines
368 B
Go
17 lines
368 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type InputGame struct {
|
|
Added time.Time `json:"added"`
|
|
Author string `json:"author"`
|
|
Team0Player0 string `json:"t0p0"`
|
|
Team0Player1 string `json:"t0p1"`
|
|
Team1Player0 string `json:"t1p0"`
|
|
Team1Player1 string `json:"t1p1"`
|
|
Score int `json:"score"`
|
|
Overtime bool `jsone:"ot"`
|
|
}
|