mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-02-24 03:23:08 +01:00
Add Go conditional statements resources
* Update 107-conditionals.md * Update content/roadmaps/109-golang/content/100-go-basics/107-conditionals.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
parent
98fdb6aa91
commit
be1c2faa60
@ -1 +1,12 @@
|
||||
# Conditionals
|
||||
# Conditional Statements
|
||||
|
||||
Conditional statements are used to run code only if a certain condition is true; go supports :
|
||||
|
||||
- `if` statements
|
||||
- `if / else` statements
|
||||
- `switch` `case` statements
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://yourbasic.org/golang/if-else-statement/'>Basic conditional patterns</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://gobyexample.com/if-else'>Go by Example: If-Else</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.golangprograms.com/golang-if-else-statements.html'>Golang programs if else</BadgeLink><BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.golangprograms.com/golang-switch-case-statements.html'>Golang programs switch case</BadgeLink>
|
||||
|
Loading…
x
Reference in New Issue
Block a user