Go Control Flow Read references/SWITCH-PATTERNS.md when using switch statements, type switches, or break with labels Read references/BLANK-IDENTIFIER.md when using , blank identifier imports, or compile-time interface checks --- If with Initialization and accept an optional initialization statement. Use it to scope variables to the conditional block: If you need the variable beyond a few lines after the , declare it separately and use a standard instead: Indent Error Flow (Guard Clauses) When an body ends with , , , or , omit the unnecessary . Keep the success path unindented: Never bury norm…