package domain import "time" type Event struct { ID string SportID int32 MatchName string HomeTeam string AwayTeam string HomeTeamID int32 AwayTeamID int32 HomeKitImage string AwayKitImage string LeagueID int32 LeagueName string LeagueCC string StartTime string Score string MatchMinute int TimerStatus string AddedTime int MatchPeriod int IsLive bool Status string Source string } type BetResult struct { Success int `json:"success"` Pager struct { Page int `json:"page"` PerPage int `json:"per_page"` Total int `json:"total"` } Results []struct { ID string `json:"id"` SportID string `json:"sport_id"` Time string `json:"time"` League struct { ID string `json:"id"` Name string `json:"name"` } `json:"league"` Home struct { ID string `json:"id"` Name string `json:"name"` } `json:"home"` Away *struct { ID string `json:"id"` Name string `json:"name"` } `json:"away"` } `json:"results"` } type UpcomingEvent struct { ID string // Event ID SportID int32 // Sport ID MatchName string // Match or event name HomeTeam string // Home team name (if available) AwayTeam string // Away team name (can be empty/null) HomeTeamID int32 // Home team ID AwayTeamID int32 // Away team ID (can be empty/null) HomeKitImage string // Kit or image for home team (optional) AwayKitImage string // Kit or image for away team (optional) LeagueID int32 // League ID LeagueName string // League name LeagueCC string // League country code StartTime time.Time // Converted from "time" field in UNIX format Source string // bet api provider (bet365, betfair) } type MatchResult struct { EventID string FullScore string HalfScore string Status string Scores map[string]map[string]string } type Odds struct { ID int64 `json:"id"` EventID string `json:"event_id"` MarketType string `json:"market_type"` Name string `json:"name"` HitStatus string `json:"hit_status"` }