feat: move entity and usecase to root folder
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package loan
|
||||
|
||||
import (
|
||||
"github.com/eminetto/clean-architecture-go-v2/entity"
|
||||
)
|
||||
|
||||
//UseCase use case interface
|
||||
type UseCase interface {
|
||||
Borrow(u *entity.User, b *entity.Book) error
|
||||
Return(b *entity.Book) error
|
||||
}
|
||||
Reference in New Issue
Block a user