package uv

import (
	
)

// Environ is a slice of strings that represents the environment variables of
// the program.
type Environ []string

// Getenv returns the value of the environment variable named by the key. If
// the variable is not present in the environment, the value returned will be
// the empty string.
func ( Environ) ( string) ( string) {
	, _ = .LookupEnv()
	return
}

// LookupEnv retrieves the value of the environment variable named by the key.
// If the variable is present in the environment the value (which may be empty)
// is returned and the boolean is true. Otherwise the returned value will be
// empty and the boolean will be false.
func ( Environ) ( string) ( string,  bool) {
	for  := len() - 1;  >= 0; -- {
		if strings.HasPrefix([], +"=") {
			 = strings.TrimPrefix([], +"=")
			 = true
			break
		}
	}
	return
}