linux - Why still says no GOPATH though i've set it? -
both gosublime
, vim-go
tells me gopath
isn't set, i've done this.
my ~/.bashrc
:
export gopath=$home/gopath export path="$path:$gopath/bin"
and can use go get
install gocode ~/gopath/bin
prints that: ...:/home/myusrname/gopath/bin: no such file or directory
~$ $path
~$ $path
is trying execute $path
string, i.e. it's equivalent writing contents of $path
variable console , pressing enter. results in error you're seeing.
what want is
~$ echo $path
Comments
Post a Comment