Retrieves the value of an environment variable.
1 2
var path string = os.getEnvVariable("PATH") printf("PATH: %s\n", path)