Removed composition from model, makes it more readable
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ type Playlist struct {
|
||||
}
|
||||
|
||||
type PlaylistRepository interface {
|
||||
BaseRepository
|
||||
CountAll() (int64, error)
|
||||
Exists(id string) (bool, error)
|
||||
Put(m *Playlist) error
|
||||
Get(id string) (*Playlist, error)
|
||||
GetAll(options ...QueryOptions) (Playlists, error)
|
||||
|
||||
Reference in New Issue
Block a user