From 9425c6af85e2d55a209b29afeb99aa31374b7506 Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Thu, 16 Jan 2025 16:12:21 +0300 Subject: [PATCH] feat(models): add track duration and lyrics --- internal/models/models.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/models/models.go b/internal/models/models.go index a03228e..2c2ac0c 100644 --- a/internal/models/models.go +++ b/internal/models/models.go @@ -33,11 +33,13 @@ type Track struct { ID string `json:"id"` Name string `json:"name"` Artists []Artist `json:"artists"` + Duration float32 `json:"duration"` ReleaseDate sql.NullTime `json:"release_date"` AcquireDate time.Time `json:"acquire_date"` ISRC sql.NullString `json:"isrc"` Credits []Credit `json:"credits"` Notes sql.NullString `json:"notes"` + Lyrics sql.NullString `json:"lyrics"` } type Alias struct {