Documentation
¶
Index ¶
- func CreateTestGame() (game models.Game)
- func CreateTestGameForHomeTeam(homeTeam models.Team) (game models.Game)
- func CreateTestGameWithShots() (game models.Game)
- func CreateTestPlayer() (player models.Player)
- func CreateTestPlayerForTeam(team models.Team)
- func CreateTestShot() (shot models.Shot)
- func CreateTestTeam() (team models.Team)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestGame ¶
helper creates a game w/ HomeTeam & AwayTeam
func CreateTestGameForHomeTeam ¶
helper method creates game w/ away team
func CreateTestGameWithShots ¶
helper creates a game w/ shots
func CreateTestPlayer ¶
helper method creates test player w/ team
func CreateTestPlayerForTeam ¶
create player associate to test team
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.