This commit is contained in:
Mark McGranaghan 2019-10-13 18:28:25 -07:00
parent a81002a27f
commit 2c7063ec2f
2 changed files with 5 additions and 5 deletions
examples/tickers
public

@ -1,2 +1,2 @@
4a42333d14f902e890902343c7bd9b9c735fd8ad
n1q1sSGEvmv
05a1e62b5d363b67df0f9bac5c8f75dc19ca2c54
E1ro_QHJD9L

6
public/tickers generated

@ -45,7 +45,7 @@ periodically until we stop it.</p>
</td>
<td class="code leading">
<a href="http://play.golang.org/p/n1q1sSGEvmv"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<a href="http://play.golang.org/p/E1ro_QHJD9L"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
</pre></div>
@ -83,8 +83,8 @@ periodically until we stop it.</p>
<td class="docs">
<p>Tickers use a similar mechanism to timers: a
channel that is sent values. Here we&rsquo;ll use the
<code>range</code> builtin on the channel to iterate over
the values as they arrive every 500ms.</p>
<code>select</code> builtin on the channel to await the
values as they arrive every 500ms.</p>
</td>
<td class="code leading">