Documentation ¶
Index ¶
Constants ¶
View Source
const STATUS_ACTIVE = "active"
View Source
const STATUS_FINAL = "final"
View Source
const STATUS_PENDING = "pending"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Matchup ¶
type Matchup struct { MatchupID int64 `db:"matchup_id"` WeekID database.NullInt64 `db:"week_id"` MatchupDate database.NullTime `db:"matchup_date"` VisitorTeamID database.NullInt64 `db:"visitor_team_id"` HomeTeamID database.NullInt64 `db:"home_team_id"` VenueID database.NullInt64 `db:"venue_id"` VisitorScore database.NullInt64 `db:"visitor_score"` HomeScore database.NullInt64 `db:"home_score"` WinningTeamID database.NullInt64 `db:"winning_team_id"` NumOvertimes database.NullInt64 `db:"num_overtimes"` Status string `db:"status"` ExternalId database.NullInt64 `db:"external_id"` }
func ReadByExternalID ¶
ReadByExternalID reads matchup by external_id column
func ReadByWeekIDAndVisitorIDAndHomeId ¶
ReadByWeekIDAndVisitorIDAndHomeId reads matchup by week_id, visitor_id, and home_id columns
Click to show internal directories.
Click to hide internal directories.