How to include Git version information in Go

How to include Git version information in Go.
It’s easy to automatically include a Git revision with every Go build

Read in full here:

This thread was posted by one of our members via one of our news source trackers.