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
|
||||
// declared in this statement are available in all
|
||||
// branches.
|
||||
// declared in this statement are available in the current
|
||||
// and all the succeeding branches.
|
||||
if num := 9; num < 0 {
|
||||
fmt.Println(num, "is negative")
|
||||
} else if num < 10 {
|
||||
|
@ -1,2 +1,2 @@
|
||||
ae7f289ac1b2b1f152cd1952b93769209eed8e1d
|
||||
QlMkcwHvmns
|
||||
bbac731541876062076e3dea9a2b536988d7739d
|
||||
_5PfTs6dNhr
|
||||
|
6
public/if-else
generated
6
public/if-else
generated
@ -42,7 +42,7 @@ straight-forward.</p>
|
||||
|
||||
</td>
|
||||
<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>
|
||||
</td>
|
||||
@ -105,8 +105,8 @@ straight-forward.</p>
|
||||
<tr>
|
||||
<td class="docs">
|
||||
<p>A statement can precede conditionals; any variables
|
||||
declared in this statement are available in the current and all the succeeding
|
||||
branches.</p>
|
||||
declared in this statement are available in the current
|
||||
and all the succeeding branches.</p>
|
||||
|
||||
</td>
|
||||
<td class="code leading">
|
||||
|
Loading…
x
Reference in New Issue
Block a user