This commit is contained in:
@@ -10,3 +10,17 @@ type SongDetail struct {
|
||||
Duration int `json:"duration"`
|
||||
Path string `json:"path"`
|
||||
}
|
||||
|
||||
type ArtistDetail struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Songs []int `json:"songs"`
|
||||
Albums []int `json:"albums"`
|
||||
}
|
||||
|
||||
type AlbumDetail struct {
|
||||
ID int `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Artist int `json:"artist"`
|
||||
Songs []int `json:"songs"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user