Skip to content

Glossary: Go Basics

Control flow

How a program chooses which lines run and how often, using `if`, `switch` and `for`.

Where the book teaches it

Related terms

if and elseswitchfor