fix genre struct tags
This commit is contained in:
@@ -254,8 +254,8 @@ type Genres struct {
|
||||
}
|
||||
|
||||
type Genre struct {
|
||||
Name string `xml:",chardata",json:"value"`
|
||||
SongCount int `xml:"songCount,attr,omitempty" json:"songCount,omitempty"`
|
||||
Name string `xml:",chardata" json:"value"`
|
||||
SongCount int `xml:"songCount,attr,omitempty" json:"songCount,omitempty"`
|
||||
AlbumCount int `xml:"albumCount,attr,omitempty" json:"albumCount,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user