Re:Looking at your program’s structure in Go 1.7
by wtbob on Tuesday August 16, 2016 @09:27AM
(#12297321)
> But Go has to be special and use a special directory or else it throws a hissy fit.
I just set GOPATH=$HOME, and then all my source (Go & otherwise) is in ~/src, all my binaries (Go & otherwise) are in ~/bin, &c. It works really well for me. So some of the subdirectories of ~/src are a bit funkily-named: no big deal.
I just set GOPATH=$HOME, and then all my source (Go & otherwise) is in ~/src, all my binaries (Go & otherwise) are in ~/bin, &c. It works really well for me. So some of the subdirectories of ~/src are a bit funkily-named: no big deal.