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
-1
View File
@@ -2,7 +2,6 @@ package deezer
type Resource interface {
GetTitle() string
GetType() string
GetTracks() []*Track
SetTracks(tracks []*Track)
GetOutputDir(outputDir string) string