3 ms·
I agree on the point where it doesn't work well with mix languages. we can, however use `go get` rather than manually doing a git clone. I understand it'd be a
by thewhitetulip 10y ago
I agree on the point where it doesn't work well with mix languages. we can, however use `go get` rather than manually doing a git clone.
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`
- stouset 10y agoHow 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.
- thewhitetulip 10y agoThis 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.