Skip to content

Commit

Permalink
add required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
FlowingSPDG committed Jun 30, 2024
1 parent 73727c9 commit 9459223
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions match.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package got5
type Match struct {
MatchID *int `json:"matchid,omitempty"` // originally string in get5 but MatchZy uses int
ClinchSeries *bool `json:"clinch_series,omitempty"`
NumMaps int `json:"num_maps,omitempty"`
NumMaps int `json:"num_maps"`
Wingman bool `json:"wingman,omitempty"`
PlayersPerTeam *int `json:"players_per_team,omitempty"`
MinPlayersToReady *int `json:"min_players_to_ready,omitempty"`
Expand All @@ -16,9 +16,9 @@ type Match struct {
VetoMode []string `json:"veto_mode,omitempty"`
MapSides []string `json:"map_sides,omitempty"`
Spectators *Spectators `json:"spectators,omitempty"`
Maplist []string `json:"maplist,omitempty"`
Team1 *Team `json:"team1,omitempty"`
Team2 *Team `json:"team2,omitempty"`
Maplist []string `json:"maplist"`
Team1 *Team `json:"team1"`
Team2 *Team `json:"team2"`
Cvars map[string]string `json:"cvars,omitempty"`
}

Expand Down

0 comments on commit 9459223

Please sign in to comment.