Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Bet represents a bet
- type Bet struct {
- PlayerName string `json:"playername"`
- MatchID string `json:"matchid"`
- TeamOneScore int `json:"teamonescore"`
- TeamTwoScore int `json:"teamtwoscore"`
- }
- //Bets is an array of Bet
- type Bets []Bet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement