feat(spotify/json): add struct error json
This commit is contained in:
parent
05b5da5169
commit
89e4644430
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
|
type SpotyfyError struct {
|
||||||
|
Error struct {
|
||||||
|
Status int `json:"status"`
|
||||||
|
Message string `json:"message"`
|
||||||
|
} `json:"error"`
|
||||||
|
}
|
||||||
|
|
||||||
type SpotifyPlaylist struct {
|
type SpotifyPlaylist struct {
|
||||||
Href string `json:"href"`
|
Href string `json:"href"`
|
||||||
Items []struct {
|
Items []struct {
|
||||||
|
|
Loading…
Reference in a new issue