I use IntelliJ IDEA as golang IDE in Windows , and system environment have already set GOPATH,but IDEA can\'t load $GOPATH.
I use go get github.com/astaxie/beego
go get github.com/astaxie/beego
This is where you set GOPATH in IntelliJ 2016 (in my case my GOPATH is /development/workspace/golang)