i having trouble with GOPATH and Intellij idea

I use MACOSX 10.10.5 and use Intellij IDEA as IDE.
I already install GO SDK (by download SDK from website and not from Macports)and try simple program, it work correctly.
I try to use gorilla library (http://www.gorillatoolkit.org/pkg/mux#overview)

For more information see

http://stackoverflow.com/questions/32897711/i-having-trouble-with-gopath-and-intellij-idea

Thank.

3 comments
Comment actions Permalink

I set GOPATH like this

  • GOPATH=$HOME/work
  • PATH=$PATH:$GOPATH/bin
  • go get github.com/gorilla/mux


Screen Shot 2015-10-02 at 5.03.02 AM.png
When i import this library, Screen Shot 2015-10-02 at 5.03.02 AM.pngIDE throw error like this.

But it do not work for me. how can I set GOPATH in idea?

0

Please sign in to leave a comment.