diff --git a/src/data/roadmaps/golang/content/100-go-basics/107-conditionals.md b/src/data/roadmaps/golang/content/100-go-basics/107-conditionals.md index ab5185486..de5ec66c1 100644 --- a/src/data/roadmaps/golang/content/100-go-basics/107-conditionals.md +++ b/src/data/roadmaps/golang/content/100-go-basics/107-conditionals.md @@ -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)