Does GO have a dependency manager yet? last time i checked it out it was only things like go get which did a git checkout?
I doubt anything would keep working on active libraries without version locking composer / yarn seem to do this a lot better.
I am not sure about the situation of dependency management on Go atm (havent used it for a few months), but in my case if I had a pre-compiled binary, I could just fire it up without having to worry about compiling from source. I was not a big fan of the way Go handled dependency a while ago, but I am sure there are better tools out there now.
dep is being adopted as the officially "blessed" tool of choice.
Yes, not really an official solution yet, but they're getting there.
Re:Web Development in Go
by fancy_pantser on Monday April 10, 2017 @05:13PM
(#14082614)
It will be in 1.10. Details and roadmap: https://github.com/golang/dep/wiki/Roadmap
I think people have come to interpret the pre-optimization mantra in different ways, which leads to some confusion.
Personally I think it's fine to have optimization goals, particularly around things like performance, cost and security (or even your ability to hire engineers). Maybe you park some of them while you prove another point, but you can (and should) measure and adapt along the way.
That being said, it all depends on the use case. And about your point on binary output, its not just about being able to get one binary and running it in different platforms, its also about being able to run it without much setup in the future. For example, I had a hard time getting a nodejs app that I built a few years ago running again since so many libraries were deprecated and I had a lot of broken packages, but if it was built using Go, it would just be one binary with all the dependencies packaged in and I would be able to run it without any issues.