Program to print Hello world in go lang

package main
import "fmt"
func main() {
fmt.Println("Hello Go Lang")
}

Output 

Hello Go lang

Explanation

  1. If you are a beginner an don't know how to install go lang and run the program, you can learn installation with the installation of go lang.
  2. To read the complete explanation of the above program visit, How to print Hello world in go lang.

Comments

Popular posts from this blog

Program to calculate telephone bill

Sum of two numbers in go lang

Program to check a year is leap year or not.

String in golang

Identifiers

Arrays in C Language

Reserved Words in Java

Data types in Java

Pointers in C Language

Literals in Java