code: func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
  	if config == nil {
  		return nil, errors.New("vegadns: the configuration of the DNS provider is nil")
  	}
  
  	vega := vegaClient.NewVegaDNSClient(config.BaseURL)
  	vega.APIKey = config.APIKey
  	vega.APISecret = config.APISecret
  
  	return &DNSProvider{client: vega, config: config}, nil
  }
docs: // NewDNSProviderConfig return a DNSProvider instance configured for VegaDNS.