Add playlists REST endpoint

This commit is contained in:
Deluan authored and Deluan Quintão committed 2020-05-16 18:35:34 -04:00
1 parent 8e2480a82d
commit 4e613be960
4 files changed
+30 -3

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ type Playlist struct {
}
type PlaylistRepository interface {
CountAll() (int64, error)
CountAll(options ...QueryOptions) (int64, error)
Exists(id string) (bool, error)
Put(pls *Playlist) error
Get(id string) (*Playlist, error)