Removed composition from model, makes it more readable
This commit is contained in:
+2
-1
@@ -46,7 +46,8 @@ func (a MediaFiles) Less(i, j int) bool {
|
||||
}
|
||||
|
||||
type MediaFileRepository interface {
|
||||
BaseRepository
|
||||
CountAll() (int64, error)
|
||||
Exists(id string) (bool, error)
|
||||
Put(m *MediaFile) error
|
||||
Get(id string) (*MediaFile, error)
|
||||
FindByAlbum(albumId string) (MediaFiles, error)
|
||||
|
||||
Reference in New Issue
Block a user