model

package
v0.0.0-...-5a58481 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matchup

type Matchup struct {
	Teams              []Team
	StartTime          time.Time
	EndTime            time.Time
	Period             string
	PeriodMinRemaining string
	PeriodSecRemaining string
	PlayedStatus       string
	Extra              string
}

func FetchLeagueMatchupsByDate

func FetchLeagueMatchupsByDate(league string, date time.Time) []Matchup

FetchLeagueMatchupsByDate given a league and date, fetch the matchups for the day

type Team

type Team struct {
	Nickname     string
	Abbreviation string
	Score        string
	Location     string
	Wins         string
	Loses        string
	Ties         string
	Points       string
	Record       string
	LogoSrc      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL