bool result is omitted, a panic occurs if the assertion fails.)
</div>
</td>
</tr>
</table>
<p></p>
<h3 id="block-forever" class="tmd-header-3">
Ways to block the current goroutine forever by using the channel mechanism
</h3>
<p></p>
<div class="tmd-usual">
Without importing any package, we can use the following ways to make the current goroutine â€Ženter (and stay in) blocking state forever:
</div>
<p></p>
<ol class="tmd-list">
<li class="tmd-list-item">
<div class="tmd-usual">
send a value to a channe