Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct { GameID string `json:"game_id,omitempty" bson:"game_id,omitempty"` Away TeamGameInfo `json:"away,omitempty" bson:"away,omitempty"` Home TeamGameInfo `json:"home,omitempty" bson:"home,omitempty"` }
type PlayerGameInfo ¶
type PlayerGameInfo struct { GameID string `json:"game_id,omitempty" bson:"game_id,omitempty"` Player Player `json:"player,omitempty" bson:"player,omitempty"` PlayerStats PlayerStats `json:"player_stats,omitempty" bson:"player_stats,omitempty"` }
type PlayerStats ¶
type PlayerStats struct { TwoPointMade int `json:"two_point_made,omitempty" bson:"two_point_made,omitempty"` TwoPointAttempt int `json:"two_point_attempt,omitempty" bson:"two_point_attempt,omitempty"` ThreePointMade int `json:"three_point_made,omitempty" bson:"three_point_made,omitempty"` ThreePointAttempt int `json:"three_point_attempt,omitempty" bson:"three_point_attempt,omitempty"` Assist int `json:"assist,omitempty" bson:"assist,omitempty"` }
type ScheduledGame ¶
type TeamGameInfo ¶
type TeamGameInfo struct { GameID string `json:"game_id,omitempty" bson:"game_id,omitempty"` Team Team `json:"team,omitempty" bson:"team,omitempty"` Players []PlayerGameInfo `json:"players,omitempty" bson:"players,omitempty"` TeamStats TeamStats `json:"team_stats,omitempty" bson:"team_stats,omitempty"` }
Click to show internal directories.
Click to hide internal directories.