go-cleanarchitecture icon indicating copy to clipboard operation
go-cleanarchitecture copied to clipboard

Question about item FindById

Open zer09 opened this issue 7 years ago • 0 comments

Hello good day,

I am trying to understand your code sample about the clean architecture. but when reading your code i cant how you create a new domain.Item.

my question is how did you create a new object of domain.Item? I already tried to look at interfaces.DbItemRepo.FindById, but what if the item is not existed on the database? how did you deal with that?

thanks.

zer09 avatar Jul 15 '17 05:07 zer09