Removed unused attributes in Last.fm responses

This commit is contained in:
Deluan
2021-07-16 21:06:47 -04:00
parent eb8ffc6f76
commit 03ad6e972a
2 changed files with 5 additions and 19 deletions
+5 -14
View File
@@ -13,15 +13,11 @@ type Response struct {
}
type Artist struct {
Name string `json:"name"`
MBID string `json:"mbid"`
URL string `json:"url"`
Image []ArtistImage `json:"image"`
Similar SimilarArtists `json:"similar"`
Tags struct {
Tag []ArtistTag `json:"tag"`
} `json:"tags"`
Bio ArtistBio `json:"bio"`
Name string `json:"name"`
MBID string `json:"mbid"`
URL string `json:"url"`
Image []ArtistImage `json:"image"`
Bio ArtistBio `json:"bio"`
}
type SimilarArtists struct {
@@ -38,11 +34,6 @@ type ArtistImage struct {
Size string `json:"size"`
}
type ArtistTag struct {
Name string `json:"name"`
URL string `json:"url"`
}
type ArtistBio struct {
Published string `json:"published"`
Summary string `json:"summary"`