Introduced types for the collections

This commit is contained in:
Deluan
2016-03-03 21:01:55 -05:00
parent eae9f3168f
commit fc6d49d34c
11 changed files with 29 additions and 21 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ type MediaFolder struct {
Path string
}
type MediaFolders []MediaFolder
type MediaFolderRepository interface {
GetAll() ([]MediaFolder, error)
GetAll() (MediaFolders, error)
}