Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct { ID int `json:"id"` Name string `json:"name"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` Age int `json:"age"` Birth Birth `json:"birth"` Nationality string `json:"nationality"` Height unit.Length `json:"height"` Weight unit.Mass `json:"weight"` Injured bool `json:"injured"` Photo string `json:"photo"` }
type PlayerBasic ¶
type PlayerInfo ¶
type PlayerInfo struct { Player Player `json:"player"` Statistics []Statistics `json:"statistics"` }
type Squad ¶
type Squad struct { Team fixtures.TeamBasic `json:"team"` Players []PlayerBasic `json:"players"` }
type Statistics ¶
type Statistics struct { Team fixtures.TeamBasic `json:"team"` League leagues.League `json:"league"` Games Games `json:"games"` Substitutes Substitutes `json:"substitutes"` Shots fixtures.ShotsStats `json:"shots"` Goals fixtures.GoalStats `json:"goals"` Passes fixtures.PassesStats `json:"passes"` Tackles fixtures.TacklesStats `json:"tackles"` Duels fixtures.DuelsStats `json:"duels"` Dribbles fixtures.DribblesStats `json:"dribbles"` Fouls fixtures.FoulsStats `json:"fouls"` Cards Cards `json:"cards"` Penalty fixtures.PenaltyStats `json:"penalty"` }
type Substitutes ¶
Click to show internal directories.
Click to hide internal directories.