James Cunningham

Compile Time Variables in Go

By James Cunningham in golang on 1 July 2015

When I and others ship software releases, I want to embed build information. In particular I find embedding the VCS revision at build time, this makes tracking down bugs in releases significantly easier than version numbers. Historically this was achieved by generating a file in the Makefile.

Read More...