Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Save ¶
func Save(s *FantasyLeague) error
Types ¶
type FantasyLeague ¶
type FantasyLeague struct { FantasyLeagueID int64 `db:"fantasy_league_id"` SeasonID int64 `db:"season_id"` FantasyGameID int64 `db:"fantasy_game_id"` Name string `db:"name"` Description database.NullString `db:"description"` LeaguePassword database.NullString `db:"league_password"` Visibility string `db:"visibility"` CreatedDate time.Time `db:"created_date"` CreatedByUserID int64 `db:"created_by_user_id"` Status string `db:"status"` }
func ReadAllBySeasonIDFantasyGameID ¶
func ReadAllBySeasonIDFantasyGameID(seasonID, gameID int64, orderBy string) ([]FantasyLeague, error)
ReadAllBySeasonID_FantasyGameID reads all fantasy_leagues in the database for the given seasonID and gameID
Click to show internal directories.
Click to hide internal directories.