Go Control Flow

Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank identifier patterns. Also use when writing a simple if/else or for loop, even if the user doesn't mention guard clauses or variable scoping. Does not cover error flow patterns (see go-error-handling).

cxuu Updated

File contents

cxuu/golang-skills commit 99e79f6583

Frequently asked questions

npx skillmds@latest add cxuu/go-control-flow