Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Album ¶
type Album struct {
Name string `json:"#text"`
}
Album represents the album information returned in the lastfm json
type Artist ¶
type Artist struct {
Name string `json:"#text"`
}
Artist represents the artist information returned in the lastfm json
type Recenttracks ¶
Recenttracks represents the metadata returned in the lastfm json
func (Recenttracks) String ¶
func (r Recenttracks) String() string
type Track ¶
type Track struct { Artist Artist `json:"artist"` Nowplaying *TrackAttr `json:"@attr,omitempty"` Album Album `json:"album"` Name string `json:"name"` }
Track represents the track information returned in the lastfm json
Click to show internal directories.
Click to hide internal directories.