feat: show build commit on admin page
This commit is contained in:
7
internal/buildinfo/buildinfo.go
Normal file
7
internal/buildinfo/buildinfo.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package buildinfo
|
||||
|
||||
// Commit is the git commit SHA the binary was built from.
|
||||
//
|
||||
// Set at build time via:
|
||||
// -ldflags "-X ResendIt/internal/buildinfo.Commit=<sha>"
|
||||
var Commit = "dev"
|
||||
Reference in New Issue
Block a user