35 lines
739 B
Go
35 lines
739 B
Go
package domain
|
|
|
|
type MatchResult struct {
|
|
EventID string
|
|
FullScore string
|
|
HalfScore string
|
|
Status string
|
|
Scores map[string]map[string]string
|
|
}
|
|
|
|
type B365UpcomingRes 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"`
|
|
} |