bxcodec / go-clean-arch

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
MIT License
9.03k stars 1.19k forks source link

why you had put uc with business logic nearly infrastructure details like a sql queries? #63

Open 0xdeface opened 2 years ago

bxcodec commented 2 years ago

Hi @0xdeface, can you elaborate more, please?

smithaitufe commented 1 year ago

I have noticed that usecase implementation rarely changes. Hence I prefer to put them in the domain directory. In this way, you don't need to have separate packages for each of the entities in the project.