This commit is contained in:
Mark McGranaghan 2014-01-10 06:31:15 -08:00
parent 8512815a6d
commit 8e97559c03
2 changed files with 6 additions and 7 deletions

View File

@ -1,2 +1,2 @@
be6689b44773c1f7a83d409d1e2f5ba7d6c7b006 926212c784ab820648906c96f6ab21afbc161526
aVTMoY5FNt Kd8B0T_JGK

View File

@ -28,8 +28,7 @@
<p><em>Channels</em> are the pipes that connect concurrent <p><em>Channels</em> are the pipes that connect concurrent
goroutines. You can send values into channels from one goroutines. You can send values into channels from one
goroutine and receive those values into another goroutine and receive those values into another
goroutine. Channels are a powerful primitive that goroutine.</p>
underly much of Go&rsquo;s functionality.</p>
</td> </td>
<td class="code empty leading"> <td class="code empty leading">
@ -43,7 +42,7 @@ underly much of Go&rsquo;s functionality.</p>
</td> </td>
<td class="code leading"> <td class="code leading">
<a href="http://play.golang.org/p/aVTMoY5FNt"><img title="Run code" src="play.png" class="run" /></a> <a href="http://play.golang.org/p/Kd8B0T_JGK"><img title="Run code" src="play.png" class="run" /></a>
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span> <div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
</pre></div> </pre></div>
@ -127,8 +126,8 @@ we sent above and print it out.</p>
<tr> <tr>
<td class="docs"> <td class="docs">
<p>When we run the program the <code>&quot;ping&quot;</code> message is <p>When we run the program the <code>&quot;ping&quot;</code> message is
successfully passed from one goroutine to another via our successfully passed from one goroutine to another via
channel.</p> our channel.</p>
</td> </td>
<td class="code leading"> <td class="code leading">