Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommentPenaltyShootout = "Penalty Shootout" CommentFoul = "Foul" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventTypeDetails ¶
type EventTypeDetails string
const ( GoalNormal EventTypeDetails = "Normal Goal" GoalOwn EventTypeDetails = "Own Goal" GoalPenalty EventTypeDetails = "Penalty" GoalPenaltyMissed EventTypeDetails = "Missed Penalty" YellowCard EventTypeDetails = "Yellow Card" RedCard EventTypeDetails = "Red Card" Substitution1 EventTypeDetails = "Substitution 1" Substitution2 EventTypeDetails = "Substitution 2" Substitution3 EventTypeDetails = "Substitution 3" Substitution4 EventTypeDetails = "Substitution 4" Substitution5 EventTypeDetails = "Substitution 5" Substitution6 EventTypeDetails = "Substitution 6" VarGoalCancelled EventTypeDetails = "Goal cancelled" VarPenaltyConfirmed EventTypeDetails = "Penalty confirmed" )
type FixtureStatus ¶
type FixtureStatus string
const ( TimeToBeDefined FixtureStatus = "TBD" NotStarted FixtureStatus = "NS" FirstHalf FixtureStatus = "1H" Halftime FixtureStatus = "HT" SecondHalf FixtureStatus = "2H" ExtraTime FixtureStatus = "ET" BreakTime FixtureStatus = "BT" Penalty FixtureStatus = "P" Suspended FixtureStatus = "SUSP" Interrupted FixtureStatus = "INT" Finished FixtureStatus = "FT" FinishedAfterExtra FixtureStatus = "AET" FinishedAfterPenalty FixtureStatus = "PEN" Postponed FixtureStatus = "PST" Cancelled FixtureStatus = "CANC" Abandoned FixtureStatus = "ABD" TechnicalLoss FixtureStatus = "AWD" WalkOver FixtureStatus = "WO" InProgress FixtureStatus = "LIVE" )
func (FixtureStatus) IsFinished ¶
func (fs FixtureStatus) IsFinished() bool
func (FixtureStatus) IsInFuture ¶
func (fs FixtureStatus) IsInFuture() bool
func (FixtureStatus) IsLive ¶
func (fs FixtureStatus) IsLive() bool
type StatsType ¶
type StatsType string
const ( ShotsOnGoal StatsType = "Shots on Goal" ShotsOffGoal StatsType = "Shots off Goal" ShotsInsideBox StatsType = "Shots insidebox" ShotsOutsideBox StatsType = "Shots outsidebox" TotalShots StatsType = "Total Shots" BlockedShots StatsType = "Blocked Shots" Fouls StatsType = "Fouls" CornerKicks StatsType = "Corner Kicks" Offsides StatsType = "Offsides" BallPossession StatsType = "Ball Possession" YellowCards StatsType = "Yellow Cards" RedCards StatsType = "Red Cards" GoalkeeperSaves StatsType = "Goalkeeper Saves" TotalPasses StatsType = "Total passes" PassesAccurate StatsType = "Passes accurate" PassesPercentage StatsType = "Passes %" )
func (StatsType) IsPercentage ¶
Click to show internal directories.
Click to hide internal directories.