feat(models): add track duration and lyrics
This commit is contained in:
parent
749fbe069b
commit
9425c6af85
@ -33,11 +33,13 @@ type Track struct {
|
|||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Artists []Artist `json:"artists"`
|
Artists []Artist `json:"artists"`
|
||||||
|
Duration float32 `json:"duration"`
|
||||||
ReleaseDate sql.NullTime `json:"release_date"`
|
ReleaseDate sql.NullTime `json:"release_date"`
|
||||||
AcquireDate time.Time `json:"acquire_date"`
|
AcquireDate time.Time `json:"acquire_date"`
|
||||||
ISRC sql.NullString `json:"isrc"`
|
ISRC sql.NullString `json:"isrc"`
|
||||||
Credits []Credit `json:"credits"`
|
Credits []Credit `json:"credits"`
|
||||||
Notes sql.NullString `json:"notes"`
|
Notes sql.NullString `json:"notes"`
|
||||||
|
Lyrics sql.NullString `json:"lyrics"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Alias struct {
|
type Alias struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user