Skip to content

Instantly share code, notes, and snippets.

@ianschenck
Last active August 29, 2015 14:04
go install path/to/main -ldflags "-X path/to/main.commit $(git rev-parse HEAD)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment