Both GoSublime
and vim-go
tells me that GOPATH
isn't set, however I've already done this.
my ~/.bashrc
:
export GOPATH=$HOME/gopath
export PATH="$PATH:$GOPATH/bin"
and I can use go get
to install gocode to my ~/gopath/bin
but it prints that: ...:/home/myusrname/gopath/bin: No such file or directory
for
~$ $PATH