Go – Loops

  • Post author:
  • Post category:GO
  • Post comments:1 Comment

This topic is about Go - Loops. There may be a situation, when you need to execute a block of code several number of times. In general, statements are executed…

Continue ReadingGo – Loops

Go – if statement

  • Post author:
  • Post category:GO
  • Post comments:2 Comments

An if statement consists of a boolean expression followed by one or more statements. Syntax The syntax of an if statement in Go programming language is − if(boolean_expression) { /* statement(s) will execute if…

Continue ReadingGo – if statement

Go – Operators

  • Post author:
  • Post category:GO
  • Post comments:1 Comment

This topic is about Go - Operators. An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. Go language is rich in built-in operators…

Continue ReadingGo – Operators

Go – Constants

  • Post author:
  • Post category:GO
  • Post comments:3 Comments

This topic is about Go - Constants. Constants refer to fixed values that the program may not alter during its execution. These fixed values are also called literals. Constants can be…

Continue ReadingGo – Constants