17 lines
562 B
Go
17 lines
562 B
Go
package domain
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
type Market struct {
|
|
EventID string // 7549892
|
|
FI string // 147543881
|
|
MarketCategory string // Corrected spelling and casing
|
|
MarketType string // e.g., "asian_handicap", "goal_line"
|
|
MarketName string // e.g., "Asian Handicap"
|
|
MarketID string // e.g., "938"
|
|
UpdatedAt time.Time // parsed from "updated_at"
|
|
Odds []json.RawMessage // oddd is sometimes null
|
|
} |