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