1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-04-12 19:31:57 +02:00

Enhanced formatting ()

This commit is contained in:
Lucas Dondo 2024-08-23 21:11:41 -03:00 committed by GitHub
parent 96f9a12343
commit 8a3c761698
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,15 +1,15 @@
# Conditional Statements
Conditional statements are used to run code only if a certain condition is true; go supports :
Conditional statements are used to run code only if a certain condition is true. Go supports:
- `if` statements
- `if / else` statements
- `switch` `case` statements
- `if...else` statements
- `switch...case` statements
Visit the following resources to learn more:
- [@official@Effective Go: if statement](https://go.dev/doc/effective_go#if)
- [@article@Basic conditional patterns](https://yourbasic.org/golang/if-else-statement/)
- [@official@Effective Go: `if` statement](https://go.dev/doc/effective_go#if)
- [@article@Basic conditional patterns](https://yourbasic.org/golang/if-else-statement)
- [@article@Go by Example: If-Else](https://gobyexample.com/if-else)
- [@article@Golang programs If-Else statement](https://www.golangprograms.com/golang-if-else-statements.html)
- [@article@Golang programs switch case](https://www.golangprograms.com/golang-switch-case-statements.html)
- [@article@Golang programs `switch` case](https://www.golangprograms.com/golang-switch-case-statements.html)