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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -