go-clean-arch icon indicating copy to clipboard operation
go-clean-arch copied to clipboard

Why Repository is the second inner layer?

Open aQuaYi opened this issue 5 years ago • 1 comments

ca In above picture, DB in the fourth layer, the most outside. But in thie project, Repository is the second inner layer. Why?

aQuaYi avatar Jun 05 '20 08:06 aQuaYi

the repository is just an interface because of that should not know about the detail of persistence implementation. the high build from low~

yyong37 avatar Dec 07 '20 13:12 yyong37