"hljs-string">&quot;Failed to open a channel&quot;</span>)
        <span class="hljs-keyword">defer</span> ch.Close()

        err = ch.ExchangeDeclare(
                <span class="hljs-string">&quot;logs&quot;</span>,   <span class="hljs-comment">// name</span>
                <span class="hljs-string">&quot;fanout&quot;</span>, <span class="hljs-comment">// type</span>
                <span class="hljs-literal">true</span>,     <span class="hljs-comment">// durable</span>
                <span class="hlj