code: func ReadConfigData(location string) ([]byte, error) {
  	if len(location) == 0 {
  		return nil, fmt.Errorf("location given but empty")
  	}
  
  	if location == "-" {
  		// Read from stdin.
  		return ReadConfigDataFromReader(os.Stdin, "stdin ('-')")
  	}
  
  	// Use the location as a file path or URL.
  	return ReadConfigDataFromLocation(location)
  }
docs: // ReadConfigData reads the bytes from the specified filesystem or network
  // location or from stdin if location == "-".
  // TODO: replace with resource.Builder