go-rest-api icon indicating copy to clipboard operation
go-rest-api copied to clipboard

About clean architecture

Open tranphuoctien opened this issue 5 years ago • 0 comments

You are implementing the wrong clean architecture. Because each layer depends on. For example, you depend on ozzo-routing. Your repository depend library database. Logic and framework, library not independent.

If you implement correctly then will easily change framework like echo, gin ... If I wrong please comment and improve together ! Thank you for your share

tranphuoctien avatar Nov 17 '20 15:11 tranphuoctien