Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. //Bet represents a bet
  2. type Bet struct {
  3. PlayerName string `json:"playername"`
  4. MatchID string `json:"matchid"`
  5. TeamOneScore int `json:"teamonescore"`
  6. TeamTwoScore int `json:"teamtwoscore"`
  7. }
  8.  
  9. //Bets is an array of Bet
  10. type Bets []Bet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement