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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -