<!-- The Go Memory Model -->
+<style>
+p.rule {
+ font-style: italic;
+}
+span.event {
+ font-style: italic;
+}
+</style>
+
<h2>Introduction</h2>
<p>
the <code>print</code>.
</p>
+<p class="rule">
+The closing of a channel happens before a receive that returns a zero value
+because the channel is closed.
+</p>
+
+<p>
+In the previous example, replacing
+<code>c <- 0</code> with <code>close(c)</code>
+yields a program with the same guaranteed behavior.
+</p>
+
<p class="rule">
A receive from an unbuffered channel happens before
the send on that channel completes.