timetable-mgr/helpers/config.go
Fred Boniface b2beecc866
All checks were successful
Go Test / test (push) Successful in 37s
Bump version
2024-04-26 21:47:52 +01:00

23 lines
405 B
Go

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