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