select statement

    0

    1

    lucycodes42

    Go Code Snippets

    case condition is

    In this example, the switch statement is checking the condition to see if it is equal to "true". If it is, the code inside the curly brackets will run. If it is not equal to "true", the code inside the curly brackets will not run.

    Shortcut: sel

    select {
    case condition:
      
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.