Thanks for the response, it makes sense now. On Friday, September 23, 2016 at 12:13:30 AM UTC-4, leon.j...@gmail.com wrote: > > I'm new to golang, and I'm trying to understand the role of GOPATH. The OS > X package from https://golang.org/dl/ installs to `/usr/local/go/bin/go`. > > Do I have to manually symlink /usr/local/go/bin/go to my PATH because the > GOPATH docs lead me to believe that GOPATH to need to be set to the > directory where my go code is located. > > Example of my code directories: > > git > ├── bitbucket > │ └── demo1 > ├── github > │ ├── notes > │ ├── scripts > │ └── snippets > ├── github-work > │ ├── ruby-app1 > │ ├── ruby-app2 > │ └── ruby-app3 > └── gitlab > ├── javascript-app1 > ├── python-app1 > └── (go-app1) > > I'd like to be able to keep this structure the same, but I don't see how > this is possible with GOPATH pointing to a single directory. > > What if I want to organize my code by version control location and not by > language? > >
-- 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.