Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *FantasyPlayerValue) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyPlayerValue) error
Types ¶
type FantasyPlayerValue ¶
type FantasyPlayerValue struct { FantasyPlayerValueID int64 `db:"fantasy_player_value_id"` FantasyGameID int64 `db:"fantasy_game_id"` PlayerID int64 `db:"player_id"` WeekID int64 `db:"week_id"` Value float64 `db:"player_value"` }
func ReadAll ¶
func ReadAll() ([]FantasyPlayerValue, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.