Introduced types for the collections
This commit is contained in:
@@ -6,6 +6,8 @@ type MediaFolder struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
type MediaFolders []MediaFolder
|
||||
|
||||
type MediaFolderRepository interface {
|
||||
GetAll() ([]MediaFolder, error)
|
||||
GetAll() (MediaFolders, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user