On Fri, 9 Mar 2018 04:46:16 -0800 (PST) Kaveh Shahbazian <kaveh.shahbaz...@gmail.com> wrote:
> As I understand it's possible to have multiple directory paths in > *$GOPATH*, separated by the OS path separator. > > Is there a way to tell *go get* to use the second (nth) item in the path > collection? > No. Go get uses first one. You may execute go tool setting process' environment as for any other unix executable: GOPATH=/some/path go get reposite/user/package Then package will be installed in /some/path/src/reposite/user/package -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- 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.