diff options
Diffstat (limited to 'modern.go')
| -rw-r--r-- | modern.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,14 +32,14 @@ type Attrs struct { } type Scrobbles struct { - XMLName xml.Name `xml:"scrobbles" json:scrobbles"` - Scrobbles []Scrobble `xml:"scrobble" json:scrobble` + XMLName xml.Name `xml:"scrobbles" json:"-"` + Scrobbles []Scrobble `xml:"scrobble" json:"scrobble"` Attrs `json:"@attr"` } type Correctable struct { - Corrected int `xml:"corrected,attr" json:"corrected"` Name string `xml:",chardata" json:"#text"` + Corrected int `xml:"corrected,attr" json:"corrected"` } func NewCorrectable(name string) Correctable { |
