Documentation
¶
Index ¶
Constants ¶
View Source
const ( EPL = "EPL" LA_LIGA = "La_liga" BUNDESLIGA = "Bundesliga" SERIE_A = "Serie_A" LIGUE_1 = "Ligue_1" RFPL = "RFPL" )
View Source
const ( PLAYERS = "playersData" TEAMS = "teamsData" GAMES = "datesData" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
HA string `json:"h_a"`
XG float64 `json:"xG"`
XGA float64 `json:"xGA"`
NpxG float64 `json:"npxG"`
NpxGA float64 `json:"npxGA"`
PPDA PPDA `json:"ppda"`
PPDAAllowed PPDA `json:"ppda_allowed"`
Deep int `json:"deep"`
DeepAllowed int `json:"deep_allowed"`
Scored int `json:"scored"`
Missed int `json:"missed"`
Xpts float64 `json:"xpts"`
Result string `json:"result"`
Date string `json:"date"`
Wins int `json:"wins"`
Draws int `json:"draws"`
Loses int `json:"loses"`
Pts int `json:"pts"`
NpxGD float64 `json:"npxGD"`
}
type LeagueBundle ¶
type LeagueBundle struct {
Page *Page
Model LeagueModel
}
type LeagueModel ¶
type LeaguePerYear ¶
type LeaguePerYear map[Year]*LeagueBundle
type Page ¶
func (*Page) GetPlayers ¶
type Player ¶
type Player struct {
Id json.Number `json:"id"`
Name string `json:"player_name"`
Games json.Number `json:"games"`
Time json.Number `json:"time"`
Goals json.Number `json:"goals"`
XG json.Number `json:"xG"`
Assists json.Number `json:"assists"`
XA json.Number `json:"xA"`
Shots json.Number `json:"shots"`
KeyPasses json.Number `json:"key_passes"`
Yellows json.Number `json:"yellow_cards"`
Reds json.Number `json:"cards"`
Position string `json:"position"`
Team string `json:"team_title"`
Npg json.Number `json:"npg"`
NpxG json.Number `json:"npxG"`
XGChain json.Number `json:"xGChain"`
XGBuildup json.Number `json:"xGBuildup"`
}
Click to show internal directories.
Click to hide internal directories.