timetable-mgr/helpers/config.go
Fred Boniface e8e715aa37
All checks were successful
Go Test / test (push) Successful in 1m52s
PIS module ready for testing
2024-10-23 11:42:47 +01:00

23 lines
395 B
Go

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