timetable-mgr/helpers/config.go
Fred Boniface fc5bb2534a
All checks were successful
Go Test / test (push) Successful in 2m36s
Add additional logging to debug PIS update process
2024-11-11 11:03:25 +00:00

23 lines
395 B
Go

package helpers
import (
"os"
)
// Version Constants
const versionNum string = "2024.11.1"
const versionSuffix string = ""
const Version string = versionNum + versionSuffix
// Environment Variables
var Runtime string = getRuntime()
// Functions
func getRuntime() string {
var runtimeEnv string = os.Getenv("runtime")
if runtimeEnv == "" {
runtimeEnv = "unknown"
}
return runtimeEnv
}