[Solved] eclipse invalid go language settings

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………!!!

Leave a Reply