News for hackers. Stuff that matters.
Re:Problems with Go Get by howeyc on Thursday May 07, 2015 @05:19PM (#9508377)
Makefiles, build: docker build

Ugh, more Linux-Only. Don't follow this please.

(This isn't necessarily aimed only at blog post, but guys and gals there are other OSs supported by Go than Linux/OSX. Most of the time just having "go get" work is enough. Trust me, I've done it a lot as an outlier. I use FreeBSD and Windows.)

What's wrong with using something like party[1], or nut[2]? Or just vendoring in a way that go build still works. Seriously, what's wrong with more source files in your project's source repository?

This way I can go get your command (package main).

I dunno, maybe I'm just grumpy.

[1] https://github.com/jingweno/nut [2] https://github.com/mjibson/party

Re:Problems with Go Get by vhost- on Thursday May 07, 2015 @05:29PM (#9508429)
What? GNU make works everywhere. I've used it on Window, OS X, every Linux distro I've touched and all the BSDs
Re:Problems with Go Get by howeyc on Thursday May 07, 2015 @05:38PM (#9508480)
Yes, I know about GNU make. The point is not GNU make, the point is needing to find out how to install third-party program on my OS of choice to build an app that should be as easy as "go build" because of the Programming Language used.

Maybe once that new fancy OneGet is on Windows (and maybe even becomes as good as brew looks on OSX, which I've never used) it will no longer bother me.

Re:Problems with Go Get by vezzy-fnord on Thursday May 07, 2015 @05:26PM (#9508414)
GNU make is cross-platform. It's often aliased to "gmake" in Unix-likes that have their own variants of it which predate GNU as the default.

True on Docker, though.

Re:Problems with Go Get by 0x74696d on Thursday May 07, 2015 @08:38PM (#9509373)
> Makefiles, build: docker build Ugh, more Linux-Only. Don't follow this please.

Meh. I get your sentiment here, but I build and deploy on Linux and I post about the stuff I work on. I don't post about the Windows stuff that I haven't worked on in years. And I assume a level of intelligence in my readers that they can translate whatever might be generally applicable into their own platform in the same sense that I don't grumble about Raymond Chen's `Old New Thing` not being directly applicable to my own work but still enjoy it.

Re:Problems with Go Get by skj on Thursday May 07, 2015 @05:32PM (#9508446)
Take a look at https://github.com/skelterjohn/wgo - it's vendoring in a way that 'go build' (and 'go get') still work :)