Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BggApi ¶
type BggApi struct {
// contains filtered or unexported fields
}
type Game ¶
type Game struct { Item struct { Type string `xml:"type,attr"` ID int64 `xml:"id,attr"` YearPublished struct { Text string `xml:",chardata"` Value int64 `xml:"value,attr"` } `xml:"yearpublished"` Name []struct { Type string `xml:"type,attr"` Value string `xml:"value,attr"` } `xml:"name"` Description string `xml:"description"` Link []struct { Type string `xml:"type,attr"` ID int64 `xml:"id,attr"` Value string `xml:"value,attr"` } `xml:"link"` Statistics struct { Ratings struct { Text string `xml:",chardata"` NumRatings struct { Text string `xml:",chardata"` Value int64 `xml:"value,attr"` } `xml:"usersrated"` Average struct { Text string `xml:",chardata"` Value float64 `xml:"value,attr"` } `xml:"average"` } `xml:"ratings"` } `xml:"statistics"` } `xml:"item"` }
XML tags generated from https://www.onlinetool.io/xmltogo/ Game can be a game, or expansion, see the Item.Type field.
Click to show internal directories.
Click to hide internal directories.