refactor: introduce typed resource kind

This commit is contained in:
Mathis Maquenne
2026-08-05 11:33:13 +02:00
parent 3ec258b876
commit 714d567603
11 changed files with 113 additions and 96 deletions
-4
View File
@@ -48,10 +48,6 @@ Duration: %s
)
}
func (a *Album) GetType() string {
return "Album"
}
func (a *Album) GetTitle() string {
return a.Results.Data.Title
}