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

Docs specify `WithPublisherOptionsExchangeDeclare` *stops* this library from declaring the exchanges existance #153

Closed Nikola-Milovic closed 4 months ago

Nikola-Milovic commented 4 months ago

The docs specify that the WithPublisherOptionsExchangeDeclare, stops the publisher from creating (declaring) the exchange? But the opposite is true, or I am I misunderstanding it?

EDIT: seems like there are some minor issues with the docs, will create a PR when I catch some more occurances

// WithPublisherOptionsExchangeKind ensures the queue is a durable queue
func WithPublisherOptionsExchangeKind(kind string) func(*PublisherOptions) {