diff options
author | Alan Pearce | 2024-05-14 21:16:23 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-14 21:45:02 +0200 |
commit | 1a5c82e2d08accb6330c4164ab987b87157b10ed (patch) | |
tree | 48d6a913809e60b1a0cc28a8b67413ffaf979f97 /internal/config/config.go | |
parent | f08094f23aa4dc7d63a7c98b4429d88005fe3a2d (diff) | |
download | searchix-1a5c82e2d08accb6330c4164ab987b87157b10ed.tar.lz searchix-1a5c82e2d08accb6330c4164ab987b87157b10ed.tar.zst searchix-1a5c82e2d08accb6330c4164ab987b87157b10ed.zip |
build: bake git hash into build for headers and --version
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 75f18d6..add4e67 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -12,6 +12,11 @@ import ( "github.com/pkg/errors" ) +var ( + CommitSHA string + ShortSHA string +) + type URL struct { *url.URL } |