Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *FantasyScheduleBase) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyScheduleBase) error
Types ¶
type FantasyScheduleBase ¶
type FantasyScheduleBase struct { FantasyScheduleBaseID int64 `db:"fantasy_schedule_base_id"` Name string `db:"name"` WeekName string `db:"week_name"` GameNumber int64 `db:"game_number"` HomeTeam int64 `db:"home_team"` AwayTeam int64 `db:"away_team"` }
func ReadAll ¶
func ReadAll() ([]FantasyScheduleBase, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.