                Body:        []<span class="hljs-keyword">byte</span>(body),
                })
        failOnError(err, <span class="hljs-string">&quot;Failed to publish a message&quot;</span>)

        log.Printf(<span class="hljs-string">&quot; [x] Sent %s&quot;</span>, body)
}

<span class="hljs-keyword">func</span> bodyFrom(args []<span class="hljs-keyword">string</span>) <span class="hljs-keyword">string</span> {
        <span class="hljs-keyword">var</span> s <span class="hljs-keyword">string</span>
