Accepted answer

its a build issue. check your bin folder whether program has access to the folder check preferences and missing references for the golang project.


the setup process should be driven by host/install/windows/innosetup-x64.iss for innosetup:
you need to check if the setup properly installed the exe, and why it looks for c:/users!/... instead of c:/users/...


i managed to find the issue, it is no configuration issue or anything. you have to do 3 things as follows,

1) make sure gopath value is different from goroot. 2) make sure gobin value is empty. 3) your package name on the go file in eclipse should be main and not the package name "hello". this should be the case for at least the file that has main function. to do this, file->new go file->source file type should be -> command source file-> empty main function. then type your code after which you can build to see the the .exe file in gopath/bin and the program run.

worked for me.

Related Query

More Query from same tag