func (c *Config) CharmHubURL() (string, bool) {
	if v, ok := c.defined[CharmHubURLKey].(string); ok && v != "" {
		return v, true
	}
	return charmhub.CharmHubServerURL, false
}
// CharmHubURL returns the URL to use for CharmHub API calls.
CharmHubURL returns the URL to use for CharmHub API calls.
// CharmHubURL returns the URL to use for CharmHub API calls .
func (c *Config) CharmHubURL() (string, bool) {
	if v, ok := c.defined[CharmHubURLKey].(string); ok && v != "" {
		return v, true
	}
	return charmhub.CharmHubServerURL, false
}
func ( c * Config ) CharmHubURL ( ) ( string , bool ) { if v , ok := c . defined [ CharmHubURLKey ] . ( string ) ; ok && v != " " { return v , true } return charmhub . CharmHubServerURL , false }
CharmHubURL returns the URL to use for CharmHub API calls.
CharmHubURL returns the URL to use for CharmHub API calls .