go-cleanarchitecture
go-cleanarchitecture copied to clipboard
Question about item FindById
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.