func (c *Client) UpdatePackage(i *UpdatePackageInput) (*Package, error) {

	urlPath, err := MakePackagePath(i.Service, i.Version)
	if err != nil {
		return nil, err
	}

	resp, err := c.PutFormFile(urlPath, i.PackagePath, "package", nil)
	if err != nil {
		return nil, err
	}

	return PopulatePackage(resp.Body)
}
// UpdatePackage updates a package for a specific version.
UpdatePackage updates a package for a specific version.
// UpdatePackage updates a package for a specific version .
func (c *Client) UpdatePackage(i *UpdatePackageInput) (*Package, error) {
	urlPath, err := MakePackagePath(i.Service, i.Version)
	if err != nil {
		return nil, err
	}
	resp, err := c.PutFormFile(urlPath, i.PackagePath, "package", nil)
	if err != nil {
		return nil, err
	}
	return PopulatePackage(resp.Body)
}
func ( c * Client ) UpdatePackage ( i * UpdatePackageInput ) ( * Package , error ) { urlPath , err := MakePackagePath ( i . Service , i . Version ) if err != nil { return nil , err } resp , err := c . PutFormFile ( urlPath , i . PackagePath , " " , nil ) if err != nil { return nil , err } return PopulatePackage ( resp . Body ) }
UpdatePackage updates a package for a specific version.
UpdatePackage updates a package for a specific version .