beerpong-elo/internal/model/inputGame.go

17 lines
368 B
Go
Raw Normal View History

2025-01-05 02:53:54 +01:00
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"`
}