diff --git a/struct.go b/struct.go index c422fb9..a1d6988 100644 --- a/struct.go +++ b/struct.go @@ -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 {