Another big refactor: Back to a single folder for persistence implementation

This commit is contained in:
Deluan
2020-01-14 18:23:29 -05:00
parent 08e096c569
commit a99c3a8af3
27 changed files with 177 additions and 171 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ type AlbumRepository interface {
Get(id string) (*Album, error)
FindByArtist(artistId string) (Albums, error)
GetAll(...QueryOptions) (Albums, error)
PurgeInactive(active Albums) ([]string, error)
PurgeInactive(active Albums) error
GetAllIds() ([]string, error)
GetStarred(...QueryOptions) (Albums, error)
Search(q string, offset int, size int) (Albums, error)