17 lines
558 B
Go
17 lines
558 B
Go
// Package version holds build metadata for the Email Agent service.
|
|
//
|
|
// The values are overridden at build time via -ldflags, for example:
|
|
//
|
|
// go build -ldflags "-X gitea.lab.audasmedia.com.au/sam/email_agent/internal/version.Version=1.2.3"
|
|
package version
|
|
|
|
// Version is the application version. It defaults to "dev" for local builds.
|
|
var Version = "dev"
|
|
|
|
// Commit is the git revision the binary was built from.
|
|
var Commit = "unknown"
|
|
|
|
// BuildTime is the RFC3339 timestamp of the build. It may be empty for
|
|
// ad-hoc local builds.
|
|
var BuildTime = ""
|