Just a simple clarification.  Your GOPATH variable can contain many 
directories, as already pointed out.  If so, go get will download packages 
into the FIRST directory in the path.

One use of this is to have your own go projects in separate directories 
with a single shared set of packages loaded using go get.  To work on 
project A, you set GOPATH to contain the shared directory, followed by the 
project directory for A.

However, if your GOPATH contains many directories, some IDEs don't handle 
the situation very well and are defeated by this approach.   If you like to 
use an IDE, you should experiment to see how well it manages.

Regards

Simon

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to