env/env.go
func (e EnvVar) Get(key string) string {
	for _, v := range e {
		env := strings.SplitN(v, "=", 2)
		if len(env) < 2 {
			continue
		}
		if env[0] == key {
			return env[1]
		}
	}
	return ""
}
func (e EnvVar) Get(key string) string {
	for _, v := range e {
		env := strings.SplitN(v, "=", 2)
		if len(env) < 2 {
			continue
		}
		if env[0] == key {
			return env[1]
		}
	}
	return ""
}
func ( e EnvVar ) Get ( key string ) string { for _ , v := range e { env := strings . SplitN ( v , " " , 2 ) if len ( env ) < 2 { continue } if env [ 0 ] == key { return env [ 1 ] } } return " " }
// Get retrieves the environment variable key
Get retrieves the environment variable key