code: func (i *Image) parseResponseFromURL(u string, result interface{}) error {
  	resp, err := i.getResponseFromURL(u)
  	if err != nil {
  		return err
  	}
  
  	defer resp.Body.Close()
  
  	dec := json.NewDecoder(resp.Body)
  	if err := dec.Decode(&result); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // parseResponseFromURL returns parsed JSON of a Docker API response at URL 'u'.