-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.go
58 lines (54 loc) · 2.33 KB
/
game.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package vrmlgo
type GameDetails struct {
Game Game `json:"game"`
NewsPosts []NewsPost `json:"newsPosts"`
NextMatches []interface{} `json:"nextMatches"`
Season GameSeason `json:"season"`
}
type Game struct {
ID string `json:"gameID"`
RoundsPerMap int64 `json:"roundsPerMap"`
GameByURL string `json:"gameByUrl"`
GameByImage string `json:"gameByImage"`
HeaderImage string `json:"headerImage"`
HomeTitleImage interface{} `json:"homeTitleImage"`
DiscordInvite string `json:"discordInvite"`
DiscordServerID string `json:"discordServerID"`
Youtube string `json:"youtube"`
Twitter string `json:"twitter"`
Reddit string `json:"reddit"`
Facebook string `json:"facebook"`
Name string `json:"gameName"`
TeamMode string `json:"teamMode"`
MatchMode string `json:"matchMode"`
URL string `json:"url"`
ShortName string `json:"urlShort"`
URLComplete string `json:"urlComplete"`
HasSubstitutes bool `json:"hasSubstitutes"`
HasTies bool `json:"hasTies"`
HasCasters bool `json:"hasCasters"`
HasCameraman bool `json:"hasCameraman"`
}
type NewsPost struct {
ID string `json:"newsID"`
UserID string `json:"userID"`
UserLogo string `json:"userLogo"`
UserName string `json:"userName"`
DateSubmittedUTC string `json:"dateSubmittedUTC"`
DateEditedUTC *string `json:"dateEditedUTC"`
Title string `json:"title"`
HTML string `json:"html"`
}
type GameSeason struct {
ID string `json:"seasonID"`
DateStartUTC string `json:"dateStartUTC"`
DateEndUTC string `json:"dateEndUTC"`
DateRosterLockUTC string `json:"dateRosterLockUTC"`
DateChampionshipStartUTC interface{} `json:"dateChampionshipStartUTC"`
ChampionshipURL string `json:"championshipUrl"`
GameName string `json:"gameName"`
GameURLShort string `json:"gameUrlShort"`
GameActive bool `json:"gameActive"`
SeasonName string `json:"seasonName"`
IsCurrent bool `json:"isCurrent"`
}