{})
// or
for range make(&lt;-chan struct{}) {}
</code></pre>
<p></p>
</li>
<li class="tmd-list-item">
<div class="tmd-usual">
receive a value from (or send a value to) a nil channel
</div>
<pre class="tmd-code disable-line-numbers111">
<code class="language-go">chan struct{}(nil) &lt;- struct{}{}
// or
&lt;-chan struct{}(nil)
// or
for range chan struct{}(nil) {}
</code></pre>
<p></p>
</li>
<li class="tmd-list-item">
<div class="tmd-usual">
use a bare select block
</div>
<pre class="tmd-code disable-line-n