Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RaceApi ¶
type RaceApi struct {
RaceApiFace
}
func NewRaceApi ¶
func NewRaceApi(raceApi RaceApiFace) RaceApi
func (RaceApi) DriverStandings ¶
func (ra RaceApi) DriverStandings(rs shared.RaceSchedule) (ds shared.DriverStandings, err error)
func (RaceApi) RaceSchedule ¶
func (ra RaceApi) RaceSchedule(year int) (rs shared.RaceSchedule, err error)
type RaceApiFace ¶
type RaceApiFace interface { RaceScheduleRaw(year int) (shared.RaceSchedule, error) DriverStandingsRaw(rs shared.RaceSchedule) (ds shared.DriverStandings, err error) }
Click to show internal directories.
Click to hide internal directories.