23 lines
395 B
Go
23 lines
395 B
Go
package helpers
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// Version Constants
|
|
const versionNum string = "2024.11.6"
|
|
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
|
|
}
|