timetable-mgr/helpers/config.go
Fred Boniface 5f57e1d267
All checks were successful
Go Test / test (push) Successful in 1m5s
Fix PIS inefficiencies and save output to file for debug purposes
2024-11-12 12:05:30 +00:00

23 lines
395 B
Go

package helpers
import (
"os"
)
// Version Constants
const versionNum string = "2024.11.2"
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
}