Documentation ¶
Index ¶
Constants ¶
View Source
const SCORINGSTATE_BENCH = "bench"
View Source
const SCORINGSTATE_IR = "ir"
View Source
const SCORINGSTATE_SCORING = "scoring"
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *FantasyRosterTeam) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyRosterTeam) error
Types ¶
type FantasyRosterTeam ¶
type FantasyRosterTeam struct { FantasyRosterTeamID int64 `db:"fantasy_roster_team_id"` FantasyTeamID int64 `db:"fantasy_team_id"` WeekID int64 `db:"week_id"` TeamID int64 `db:"team_id"` ScoringState string `db:"scoring_state"` }
func ReadAll ¶
func ReadAll() ([]FantasyRosterTeam, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.