Removed composition from model, makes it more readable
This commit is contained in:
@@ -2,11 +2,6 @@ package model
|
||||
|
||||
import "errors"
|
||||
|
||||
type BaseRepository interface {
|
||||
CountAll() (int64, error)
|
||||
Exists(id string) (bool, error)
|
||||
}
|
||||
|
||||
var (
|
||||
ErrNotFound = errors.New("data not found")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user