aboutsummaryrefslogtreecommitdiff
path: root/cmd/tmp/dns/main.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-14 10:22:02 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-14 10:22:02 +0200
commit3981cdc68052c5084c28ade768b635d24242aa6d (patch)
tree99e3673a808f0e1f2d28d0eb08cf78cdb388e51e /cmd/tmp/dns/main.go
parent3e28061421af28fda9e193f3758475c442d91893 (diff)
added option to supply git-commit hash when compiling
Usage: ``` $ go build -ldflags="-X 'main.gitCommit=$(git rev-list -1 HEAD)'" ```
Diffstat (limited to 'cmd/tmp/dns/main.go')
0 files changed, 0 insertions, 0 deletions