code: func ReadConfigDataFromLocation(location string) ([]byte, error) {
  	// we look for http:// or https:// to determine if valid URL, otherwise do normal file IO
  	if strings.Index(location, "http://") == 0 || strings.Index(location, "https://") == 0 {
  		resp, err := http.Get(location)
  		if err != nil {
  			return nil, fmt.Errorf("unable to access URL %s: %v\n", location, err)
  		}
  		defer resp.Body.Close()
  		if resp.StatusCode != 200 {
  			return nil, fmt.Errorf("unable to read URL, server reported %d %s", resp.StatusCode, resp.Status)
  		}
  		return ReadConfigDataFromReader(resp.Body, location)
  	} else {
  		file, err := os.Open(location)
  		if err != nil {
  			return nil, fmt.Errorf("unable to read %s: %v\n", location, err)
  		}
  		return ReadConfigDataFromReader(file, location)
  	}
  }
docs: // TODO: replace with resource.Builder