Go - Decision Making

Go - Decision Making : Decision making systems require that the programmer specify one or more situations to be evaluated

Go programming language provides the following types of decision making statements. There are following links to check their detail.
Sr.No Statement & Description
1 if declaration

An if statement consists of a boolean expression followed through one or more statements.

2 if...Else statement

An if statement can be followed by using an non-obligatory else statement, which executes when the boolean expression is fake.

3 nested if statements

You can use one if or else if statement inner another if or else if statement(s).

4 switch statement

A switch statement lets in a variable to be examined for equality in opposition to a list of values.

5 select statement

A select statement is similar to transfer statement with difference that case statements refers to channel communications.