Re:Looking at your program’s structure in Go 1.7
by stouset on Tuesday August 16, 2016 @12:31PM
(#12298546)
How is this different from any other language where you "just" run `cd path/to/project; (make || rake || pants || cargo)`? This isn't special, and it's not something the go workspace makes possible.
Re:Looking at your program’s structure in Go 1.7
by thewhitetulip on Tuesday August 16, 2016 @11:45PM
(#12302397)
This is different because $GOPATH is a requirement of the language and in _other_ languages, you have to manually clone the repos in the correct root folder which you store all your code into.
Go allows you to do a go get reponame and it'll do the git clone stuff for you.
that is nothing short of amazing as far as code management is concerned. I love it.
I understand it'd be a pain to have Go setup, but once it is setup, it is great, When I write Go programs
I do
`$ cd /go/src/github.com/thewhitetulip/Tasks` `$ Tasks go build -o tasks` `$ Tasks ./tasks`