[Solved] eclipse invalid go language settings

(Last Updated On: August 11, 2016)

Configuring GO settings:

Step 1: Open the eclipse.

Step 2: File -> New -> Go Project (Give project name as your wish)

Step 3: Set the GOROOT value like this,

 

give ok and create the project.

Step 4: Inside src folder create hello.go file and paste the below code,

package agn

import "fmt"

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

 Step 5: Run and see the output in eclipse.

 

Thanks for reading this post………!!!

310 total views, 0 views today

Leave a Reply

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