code: func ValidateEnvironment(wenv map[string]string) (r results) {
  	for wkey, wval := range wenv {
  		gval := os.Getenv(wkey)
  		if gval != wval {
  			err := fmt.Errorf("environment variable %q not set appropriately (need %q, got %q)", wkey, wval, gval)
  			r = append(r, err)
  		}
  	}
  	return
  }
docs: // ValidateEnvironment ensures that the given environment contains the
  // necessary/expected environment variables.