Go Tutorial

Go If...Else

Source: Bro Code

Conditional Statements

Use conditions to run different code paths based on logical tests.

GO
if score >= 90 { fmt.Println("A") }
Try it Yourself
Run this GO example in your local environment or course sandbox.