brand exe with both long and short commit hashes
1 file changed, 5 insertions(+), 0 deletions(-)
changed files
M cmd/server/main.go → cmd/server/main.go
@@ -11,6 +11,11 @@ "github.com/ardanlabs/conf/v3" "github.com/pkg/errors" ) +var ( + CommitSHA string + ShortSHA string +) + type Config struct { Production bool `conf:"default:false"` ListenAddress string `conf:"default:localhost"`