refactor: introduce typed resource kind
This commit is contained in:
@@ -37,10 +37,6 @@ Duration: %s
|
||||
)
|
||||
}
|
||||
|
||||
func (p *Playlist) GetType() string {
|
||||
return "Playlist"
|
||||
}
|
||||
|
||||
func (p *Playlist) GetTitle() string {
|
||||
return p.Results.Data.Title
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user