Increment: Include changes in source .go file for #450
This commit is contained in:
parent
7536493598
commit
8fa2e68e5c
@ -20,8 +20,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// A statement can precede conditionals; any variables
|
// A statement can precede conditionals; any variables
|
||||||
// declared in this statement are available in all
|
// declared in this statement are available in the current
|
||||||
// branches.
|
// and all the succeeding branches.
|
||||||
if num := 9; num < 0 {
|
if num := 9; num < 0 {
|
||||||
fmt.Println(num, "is negative")
|
fmt.Println(num, "is negative")
|
||||||
} else if num < 10 {
|
} else if num < 10 {
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
ae7f289ac1b2b1f152cd1952b93769209eed8e1d
|
bbac731541876062076e3dea9a2b536988d7739d
|
||||||
QlMkcwHvmns
|
_5PfTs6dNhr
|
||||||
|
6
public/if-else
generated
6
public/if-else
generated
@ -42,7 +42,7 @@ straight-forward.</p>
|
|||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="code leading">
|
<td class="code leading">
|
||||||
<a href="https://go.dev/play/p/QlMkcwHvmns"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
<a href="https://go.dev/play/p/_5PfTs6dNhr"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
|
||||||
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
|
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
|
||||||
</pre>
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
@ -105,8 +105,8 @@ straight-forward.</p>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="docs">
|
<td class="docs">
|
||||||
<p>A statement can precede conditionals; any variables
|
<p>A statement can precede conditionals; any variables
|
||||||
declared in this statement are available in the current and all the succeeding
|
declared in this statement are available in the current
|
||||||
branches.</p>
|
and all the succeeding branches.</p>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="code leading">
|
<td class="code leading">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user