Implement Album search with SQL

This commit is contained in:
Deluan
2020-01-13 15:41:14 -05:00
committed by Deluan Quintão
parent c2448d3880
commit 3a9559a860
4 changed files with 33 additions and 16 deletions
+1
View File
@@ -35,4 +35,5 @@ type AlbumRepository interface {
PurgeInactive(active Albums) ([]string, error)
GetAllIds() ([]string, error)
GetStarred(...QueryOptions) (Albums, error)
Search(q string, offset int, size int) (Albums, error)
}