0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

(WIP) A Tour of Go をやってみる

Posted at

Overview

Golang のキャッチアップの為、A Tour of Go に取り組む。

A Tour of Go:

Using the tour

チュートリアルの説明が記載されている

Packages, variables, and functions

For loop

初期化と後処理ステートメントの記述は任意です。

初期化と後処理ステートメントを記述しない場合、条件式の前後にセミコロンをつける、つけないは選択可能

OK:

for ; 条件式; {
    ...
}

OK:

for 条件式 {
    ...
}

If statement

If statement で変数宣言
https://go-tour-jp.appspot.com/flowcontrol/6
If スコープ内でのみ使用可能

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?