ring">&quot;logs&quot;</span>, <span class="hljs-comment">// exchange</span>
                <span class="hljs-literal">false</span>,
                <span class="hljs-literal">nil</span>,
        )
        failOnError(err, <span class="hljs-string">&quot;Failed to bind a queue&quot;</span>)

        msgs, err := ch.Consume(
                q.Name, <span class="hljs-comment">// queue</span>
                <span class="hljs-string">&quot;&quot;</span>,     <span class="hljs-comment">// consumer</span>
     