Setting up Go-lang-plugin on IntelliJ IDE (Windows)

While there are many guides about setting up go-lang-plugin on Linux and Mac Os X wasn’t able to find one for Windows and it took me a while to figure it out.

Bypassing the very basic steps, you should have Go SDK (Download) and IntelliJ IDE (Download) installed.

Open the directory which you installed Go -> bin and execute go.exe.

Now open IntelliJ and go Run -> Edit Configurations and on the menu Go Application should have the name of the project you created. Click on it and check the Environment variables on the right. Add GOROOT=“directory of Go folder” (E.g. GOROOT=C:/Go).

Although I still get an error: GOPATH environment variable is empty or could not be detected properly., have tried compiling different projects and no problem so far.

 
123
Kudos
 
123
Kudos

Now read this

Unity2d - Moving platforms without character falling off. [C#]

While there are many guides about how to make moving platforms in Unity2d, most are confusing on how to make characters and objects on them to move along. My implementation includes two empty game objects which will point the start and... Continue →