Generating code
What's so confusing from this post, is the complete lack of motivations for why anyone would want this over a shell script at the root of their project. I'd rather it even blindly rerun the command every `go build` than this half hearted attempt.This looks much like my team's `make update` rule (that merely runs ./mk/update.sh). Well, except now the dependencies on external tools are scattered throughout your project. Oh and build failures wouldn't even tell you that you need to run go generate.What a mis-step. Then again, maybe I'm somehow mistaking a build system with a compiler[0]?[0]: https://news.ycombinator.com/item?id=8733493