diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-09-14 10:22:02 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-09-14 10:22:02 +0200 |
commit | 3981cdc68052c5084c28ade768b635d24242aa6d (patch) | |
tree | 99e3673a808f0e1f2d28d0eb08cf78cdb388e51e /internal/mocks/client/client.go | |
parent | 3e28061421af28fda9e193f3758475c442d91893 (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 'internal/mocks/client/client.go')
0 files changed, 0 insertions, 0 deletions