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

Arrays in C Language

Pointers in C Language

String in golang

Literals in Java

Reserved Words in Java

Identifiers

Data Types in Go language

Variable Naming & Scope of Variable

Overview of Go lang

Functions in C Language