Make QueryOptions optional in AlbumRepository.GetAll

This commit is contained in:
Deluan
2020-01-11 21:25:37 -05:00
parent bfac3e3c91
commit d4ed6a0569
7 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ type AlbumRepository interface {
Put(m *Album) error
Get(id string) (*Album, error)
FindByArtist(artistId string) (Albums, error)
GetAll(QueryOptions) (Albums, error)
GetAll(...QueryOptions) (Albums, error)
PurgeInactive(active Albums) ([]string, error)
GetAllIds() ([]string, error)
GetStarred(QueryOptions) (Albums, error)