Notice
Recent Posts
Recent Comments
Link
It won't hurt to try
go if 본문

위의 if문을 보면 다른 언어와의 차이점이 조금 보인다.
- 조건부에 ()를 생략해도 된다.
- if문 안에서 variable expressions가 가능하다.
300x250
300x250
'Go' 카테고리의 다른 글
| go pointer (0) | 2022.03.27 |
|---|---|
| go switch (0) | 2022.03.27 |
| go for (0) | 2022.03.27 |
| go function (0) | 2022.03.27 |
| go variable (0) | 2022.03.27 |
Comments