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