Answer the question
In order to leave comments, you need to log in
How to build a directory structure to work with different golang projects?
Hello.
The problem is that I have one test project located in the ~/Projects/golang/projects/someproject directory and in the project directory I want to create another project ~/Projects/golang/projects/analytics . But if I go to ~/Projects/golang/projects/someproject and do go install I get an error.
no install location for directory ~/Projects/golang/projects/analytics outside GOPATH
Answer the question
In order to leave comments, you need to log in
pixfid at Sierra in ~
$ echo $GOPATH
/Users/pixfid/Work
/Users/pixfid/Work/src/github.com/pixfid/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question