INNER CODE UNIT · Go
valOrGetenv
cweill/gotests · gotests/main.go:170
func valOrGetenv(val, key string) string {
if val != "" {
return val
}
return os.Getenv(key)
}
INNER CODE UNIT · Go
cweill/gotests · gotests/main.go:170
func valOrGetenv(val, key string) string {
if val != "" {
return val
}
return os.Getenv(key)
}