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

Question about manage 3rd service #72

Closed thehaung closed 1 year ago

thehaung commented 1 year ago

Hi, I consider about 3rd service in my repo, where i put this. Like i have a api call to another service in microservice system with REST/gRPC/Kafka/RabbitMQ, etc...

masajip commented 1 year ago

Hi, I think you just need to add a package inside your repo, such as /repository/kafka or /repository/rabbitmq and make a new type likes kafkaAuthorRepo, rabbitmqAuthorRepo inside of them

thehaung commented 1 year ago

Thanks @masajip for the answer