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
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue