INNER CODE UNIT · Go

getEnvVar

we-dcode/kubetunnel · cmd/operator/main.go:337

func getEnvVar(variable string) string {
	envVar, ok := os.LookupEnv(variable)
	if !ok {
		fmt.Errorf("%v is not a present env variable", variable)
	}
	return envVar
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…