Conditional statements are used to run code only if a certain condition is true. Go supports:
if
if...else
switch...case
Visit the following resources to learn more: