wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
752 stars 126 forks source link

fix: initialise handlerMu in consumer (#169) #170

Closed astromechza closed 3 weeks ago

astromechza commented 3 weeks ago

See #169. The handlerMu isn't initialized, so this PR is intended as a breakfix to initialize it. I'm slightly concerned that this library doesn't have tests.

wagslane commented 3 weeks ago

Feel free to add some tests!

Haven't had a chance to sit down and work on this in awhile

astromechza commented 3 weeks ago

@wagslane I'll try find some time :)