Switch and Select
Learn about switch and select in Go.
case
statements break by default
Unlike in C-based languages, case
statements in Go break by default.
To make case
statements fall through, use the fallthrough
keyword:
Access this course and 1400+ top-rated courses and projects.