feat: move entity and usecase to root folder

This commit is contained in:
Elton Minetto
2020-10-12 07:35:29 -03:00
parent 2c0f46aff1
commit 3e4eb2e616
33 changed files with 109 additions and 138 deletions
+11
View File
@@ -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
}