More slices instead of pointers of slice

This commit is contained in:
Deluan
2016-03-20 13:14:04 -04:00
parent 3f0030738a
commit 21b39d922c
15 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import (
)
type Playlists interface {
GetAll() (*domain.Playlists, error)
GetAll() (domain.Playlists, error)
Get(id string) (*PlaylistInfo, error)
}
@@ -18,7 +18,7 @@ type playlists struct {
mfileRepo domain.MediaFileRepository
}
func (p playlists) GetAll() (*domain.Playlists, error) {
func (p playlists) GetAll() (domain.Playlists, error) {
return p.plsRepo.GetAll(domain.QueryOptions{})
}