Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *FantasyLeagueSetting) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyLeagueSetting) error
func Update ¶
func Update(s *FantasyLeagueSetting) error
Update will update a record in the database
Types ¶
type FantasyLeagueSetting ¶
type FantasyLeagueSetting struct { FantasyLeagueSettingID int64 `db:"fantasy_league_setting_id"` FantasyLeagueID int64 `db:"fantasy_league_id"` PositionID database.NullInt64 `db:"position_id"` FantasySettingID int64 `db:"fantasy_setting_id"` Value string `db:"value"` }
func ReadAll ¶
func ReadAll() ([]FantasyLeagueSetting, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.