func (c *Client) GetPackage(i *GetPackageInput) (*Package, error) {
	path, err := MakePackagePath(i.Service, i.Version)
	if err != nil {
		return nil, err
	}

	resp, err := c.Get(path, nil)
	if err != nil {
		return nil, err
	}

	return PopulatePackage(resp.Body)
}
// GetPackage retrieves  package information for the given service and version.
GetPackage retrieves  package information for the given service and version.
// GetPackage retrieves package information for the given service and version .
func (c *Client) GetPackage(i *GetPackageInput) (*Package, error) {
	path, err := MakePackagePath(i.Service, i.Version)
	if err != nil {
		return nil, err
	}
	resp, err := c.Get(path, nil)
	if err != nil {
		return nil, err
	}
	return PopulatePackage(resp.Body)
}
func ( c * Client ) GetPackage ( i * GetPackageInput ) ( * Package , error ) { path , err := MakePackagePath ( i . Service , i . Version ) if err != nil { return nil , err } resp , err := c . Get ( path , nil ) if err != nil { return nil , err } return PopulatePackage ( resp . Body ) }
GetPackage retrieves  package information for the given service and version.
GetPackage retrieves package information for the given service and version .