Removing engine.ErrDataNotFound in favor of domain.ErrNotFound
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user