justforfunc #36: Versions, build constraints, and ldflags
justforfunc: Programming in Go · 16:32
Francesc Campoy (justforfunc #36) shows three ways to put version information into a Go binary at build time without editing the committed source. The first two use build tags with constants or init()-overridden varia...