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, this package is installed correctly, but in IDEA can't import this library. I have added this package in project's structure in this way: and this project's choice “Go sdk go1.1.1 windows/amd64 ”like how can I set GOPATH in idea?