ThreeDotsLabs / wild-workouts-go-ddd-example

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.
https://threedots.tech
MIT License
5.04k stars 464 forks source link

Application add query services #55

Open levinhne opened 2 years ago

levinhne commented 2 years ago

Hi! I really like this project of yours. I have the following problem, please help. In internal/trainings/app/command I see there is a services.go, similarly in internal/trainings/app/query I also want a services.go, but when I do so Go gives an error in https: //github.com/ThreeDotsLabs/wild-workouts-go-ddd-example/blob/master/internal/trainings/service/service.go#L39 because this function is passing command.TrainerService, command.UserService. Please help me to know more. Thank you!