evrone / go-clean-template

Clean Architecture template for Golang services
MIT License
6.23k stars 522 forks source link

Sending RabbitMQ messages #193

Open minutazos opened 1 year ago

minutazos commented 1 year ago

Hello,

I am using this template for a personal project. I understand how to consume RabbitMQ messages, but I don't get very clearly how to send RabbitMQ messages, should I inject the RMQ client to the Usecase and from there call the method client.RemoteCall?

Thank you in advance!