Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *FantasyLeaguePayout) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyLeaguePayout) error
Types ¶
type FantasyLeaguePayout ¶
type FantasyLeaguePayout struct { FantasyLeaguePayoutID int64 `db:"fantasy_league_payout_id"` FantasyLeagueID int64 `db:"fantasy_league_id"` Name string `db:"name"` Prize database.NullString `db:"prize"` }
func ReadAll ¶
func ReadAll() ([]FantasyLeaguePayout, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.