Use mbtypes.ISRC type

This commit is contained in:
Philipp Wolfer 2025-04-03 15:08:02 +02:00
parent ad1644672c
commit 13eb8342ab
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
7 changed files with 16 additions and 11 deletions

View file

@ -22,6 +22,8 @@ THE SOFTWARE.
package spotify
import "go.uploadedlobster.com/mbtypes"
type TracksResult struct {
Href string `json:"href"`
Limit int `json:"limit"`
@ -98,9 +100,9 @@ type Artist struct {
}
type ExternalIds struct {
ISRC string `json:"isrc"`
EAN string `json:"ean"`
UPC string `json:"upc"`
ISRC mbtypes.ISRC `json:"isrc"`
EAN string `json:"ean"`
UPC string `json:"upc"`
}
type ExternalUrls struct {