Removing engine.ErrDataNotFound in favor of domain.ErrNotFound

This commit is contained in:
Deluan
2016-03-23 18:15:14 -04:00
parent c50b0bdc48
commit 1ed8c60130
10 changed files with 15 additions and 19 deletions
-5
View File
@@ -1,7 +1,6 @@
package engine
import (
"errors"
"time"
"github.com/deluan/gosonic/domain"
@@ -41,10 +40,6 @@ type Entry struct {
type Entries []Entry
var (
ErrDataNotFound = errors.New("data not found")
)
func FromAlbum(al *domain.Album) Entry {
e := Entry{}
e.Id = al.Id