A simple amqp channel pool made from of go client streadway/amqp.
go get github.com/gmarcial/amqp-pool
Configure an instance of rabbitmq on your machine, export the connection string how environment variable and run the tests:
export AMQP_CONNECTION=amqp://guest:[email protected]:5672/
go test ./...