code: func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
  	if config == nil {
  		return nil, errors.New("easydns: the configuration of the DNS provider is nil")
  	}
  
  	if config.Token == "" {
  		return nil, errors.New("easydns: the API token is missing")
  	}
  
  	if config.Key == "" {
  		return nil, errors.New("easydns: the API key is missing")
  	}
  
  	return &DNSProvider{config: config, recordIDs: map[string]string{}}, nil
  }
docs: // NewDNSProviderConfig return a DNSProvider .