"dep ensure" does not work from terminal
When I open a terminal in the IDE and in the directory with Gopkg.toml type:
dep ensure
an error occurs:
$(HOME)/my_service/src/my.package/foo/ is not within a known GOPATH/src
I set module GOPATH to $(HOME)/my_service and enabled dep integration. What's wrong?
请先登录再写评论。
Hi. Did you set the GOPATH in the "Preferences | Go | GOPATH"? If not, please do that, then close and open the terminal tab again, make sure the GOPATH is correct by running 'echo $GOPATH', and try 'dep ensure' one more time.