2020-11-05 day 29 @go short statement if goではifの中で変数の初期化ができるif i := 1; i < 10 { fmt.Println(i) } ことのきiのスコープはif中のステートメントのみ。