I am trying to set up an IDE for Go and am having difficulty. I have chosen to use Goland by JetBrains but am open to suggestions if someone has a better option. My issue is that it asks me to configure GOPATH and I have no clue how to do it. I am assuming that is why i am having issues, I am trying to run MeasureTheFuture software as part of a project. The operating system is Mac. Any help or guidance is appreciated, first time using Go or Mac.
So, only execute the same code of @acim above, or:
cd yourproject/
export GOPATH=$( pwd )
export PATH=$PATH:$GOPATH/bin
Open your IDE, click in “Preferences”> Go> GOPATH
“Project GOPATH” and put your path of your project for the IDE make the autocomplete the libraries.
and recognize then