Expose rich structs and methods that use them? #271
Unanswered
AndrewWinterman
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello, thanks for using this library. Please note that Team RabbitMQ always uses GitHub Discussions for Q&A, not issues, which are for actionable work. This library is a continuation of an old Go library (https://github.com/streadway/amqp) that made API decisions years ago. In general, RabbitMQ client library APIs closely follow the AMQP 0.9.1 specification, for better or worse. We also try to minimize the amount of "sugar" in these libraries, preferring to keep them low-level and let the community provide more friendly alternatives built upon them. @Zerpet @Gsantomaggio - anything to add here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a reason structs like basicPublish are not exposed publicly? The existing interfaces are a bit hard to understand without an IDE or extensive comments. In fact, I frequently find myself recreating them:
For clarity:
and:
vs, for example
Beta Was this translation helpful? Give feedback.
All reactions