When I make a package use go install
, I found Go search the package form two path
/usr/local/Cellar/go/1.6.2/libexec/src/
go install dir. many base package like fmt.../Users/godtail/Product/go/go_path/src/
$GOPATH/src. bad $GOPATH, I will change it.
also can use relative path, but is not recommended.
I always put my work dir like this.
Product A
php
nodejs
go(i hope to put here)
Product B
java
nodejs
...
How can I do like this? or maybe change dir follow Go.
Give me some advice, thank you very much.