style: rename accessors to idiomatic names

This commit is contained in:
Mathis Maquenne
2026-08-05 11:47:53 +02:00
parent 88319ebb3c
commit f8b301e24c
16 changed files with 46 additions and 46 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
package deezer
type Resource interface {
GetTitle() string
GetTracks() []*Track
Title() string
Tracks() []*Track
SetTracks(tracks []*Track)
GetOutputDir(outputDir string) string
Unmarshal(data []byte) error
OutputDir(outputDir string) string
decode(data []byte) error
}