Rebuild for variables

This commit is contained in:
Mark McGranaghan 2019-05-30 06:35:21 -07:00
parent 9f4f06d27d
commit 151db9a129
2 changed files with 5 additions and 5 deletions

View File

@ -1,2 +1,2 @@
f7a75d8fb2525099e9de6c5a5916e2411c5f3489
1FnG0dJfxs8
636a63e1bf810cb9d0620cc5160330f6d3d8679d
kwm2xuWnlKq

View File

@ -41,7 +41,7 @@ calls.</p>
</td>
<td class="code leading">
<a href="http://play.golang.org/p/1FnG0dJfxs8"><img title="Run code" src="play.png" class="run" /></a>
<a href="http://play.golang.org/p/kwm2xuWnlKq"><img title="Run code" src="play.png" class="run" /></a>
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
</pre></div>
@ -134,12 +134,12 @@ zero value for an <code>int</code> is <code>0</code>.</p>
<td class="docs">
<p>The <code>:=</code> syntax is shorthand for declaring and
initializing a variable, e.g. for
<code>var f string = &quot;short&quot;</code> in this case.</p>
<code>var f string = &quot;apple&quot;</code> in this case.</p>
</td>
<td class="code">
<div class="highlight"><pre> <span class="nx">f</span> <span class="o">:=</span> <span class="s">&quot;short&quot;</span>
<div class="highlight"><pre> <span class="nx">f</span> <span class="o">:=</span> <span class="s">&quot;apple&quot;</span>
<span class="nx">fmt</span><span class="p">.</span><span class="nx">Println</span><span class="p">(</span><span class="nx">f</span><span class="p">)</span>
<span class="p">}</span>
</pre></div>