Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Competition ¶
Competition model
type Match ¶
type Match struct { ID int `json:"id"` Date time.Time `json:"utcDate"` Status string `json:"status"` Matchday int `json:"matchday"` Stage string `json:"stage"` Group string `json:"group"` Scores Score `json:"score"` HomeTeam Team `json:"homeTeam"` AwayTeam Team `json:"awayTeam"` }
Match Model
type Score ¶
type Score struct { Winner string `json:"winner"` Duration string `json:"duration"` FullTime TeamScore `json:"fullTime"` HalfTime TeamScore `json:"halfTime"` ExtraTime TeamScore `json:"extraTime"` Penalties TeamScore `json:"penalties"` }
Score Model
type ScoreResponse ¶
type ScoreResponse struct { Competition Competition `json:"competition"` Matches []Match `json:"matches"` }
ScoreResponse Model
type Standing ¶
type Standing struct { Stage string `json:"stage"` Type string `json:"type"` Tables []Table `json:"table"` }
Standing model
type StandingResponse ¶
type StandingResponse struct { Filter string `json:"filter"` Competition Competition `json:"competition"` Standing []Standing `json:"standings"` }
StandingResponse Model
type Table ¶
type Table struct { Position int `json:"position"` Team Team `json:"team"` PlayedGames int `json:"playedGames"` Form string `json:"form"` Won int `json:"won"` Draw int `json:"draw"` Lost int `json:"lost"` Points int `json:"points"` GoalsFor int `json:"goalsFor"` GoalsAgainst int `json:"goalsAgainst"` GoalDifference int `json:"goalDifference"` }
Table model
Click to show internal directories.
Click to hide internal directories.