Go - Switch

Card Puncher Data Processing

Example

switch {
    case a > b:
        return 1
    case a > c:
        return -1
    default:
        return 0
}







Share this page:
Follow us:
Task Runner