This commit is contained in:
4
main.go
4
main.go
@@ -11,6 +11,7 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
"os/signal"
|
||||
"runtime"
|
||||
"smt/controllers"
|
||||
"smt/middlewares"
|
||||
"smt/models"
|
||||
@@ -100,6 +101,7 @@ func main() {
|
||||
// These replacements are for the embedded html generated from README.md
|
||||
replacements["{SHA1VER}"] = sha1ver
|
||||
replacements["{BUILDTIME}"] = buildTime
|
||||
replacements["{RUNTIME}"] = runtime.Version()
|
||||
|
||||
// Load data from environment file
|
||||
envFilename := utils.GetFilePath(".env")
|
||||
@@ -121,7 +123,7 @@ func main() {
|
||||
}
|
||||
|
||||
log.SetOutput(logfileWriter)
|
||||
log.Printf("SMT starting execution. Built on %s from sha1 %s\n", buildTime, sha1ver)
|
||||
log.Printf("SMT starting execution. Built on %s from sha1 %s. Runtime %s\n", buildTime, sha1ver, runtime.Version())
|
||||
|
||||
/*
|
||||
// for debugging, list all the files that we embedded at compile time
|
||||
|
Reference in New Issue
Block a user