feat(spotify/json): add struct error json

This commit is contained in:
rick 2021-08-28 21:53:12 +02:00
parent 05b5da5169
commit 89e4644430
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -1,5 +1,14 @@
package main
import "time"
type SpotyfyError struct {
Error struct {
Status int `json:"status"`
Message string `json:"message"`
} `json:"error"`
}
type SpotifyPlaylist struct {
Href string `json:"href"`
Items []struct {