Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *FantasyRotoStandings) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyRotoStandings) error
func Update ¶
func Update(s *FantasyRotoStandings) error
Update will update a record in the database
Types ¶
type FantasyRotoStandings ¶
type FantasyRotoStandings struct { FantasyRotoStandingsID int64 `db:"fantasy_roto_standings_id"` FantasyTeamID int64 `db:"fantasy_team_id"` WeekID int64 `db:"week_id"` WeekFantasyPts database.NullFloat64 `db:"week_fantasy_pts"` TotalFantasyPts database.NullFloat64 `db:"total_fantasy_pts"` WeekGamePts database.NullInt64 `db:"week_game_pts"` TotalGamePts database.NullInt64 `db:"total_game_pts"` LeagueRanking database.NullInt64 `db:"league_ranking"` }
func ReadAll ¶
func ReadAll() ([]FantasyRotoStandings, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.