Hello World Go Programming Language

(Last Updated On: August 11, 2016)

Step 1: Download the go programming language from the below link,

http://code.google.com/p/go/downloads/list

and Install it.

Step 2: Create a file named hello.go and paste the below code,

package main

import "fmt"

func main() {
	fmt.Println("Hello World")
}

 Step 3: Save the hello.go in bin folder as like in java.

Step 4: Compile and run the program as like below,

 

 

Thanks for reading this post……..!!!

 

402 total views, 0 views today

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *