func GetRegistry(name string, config *common.URL) (registry.Registry, error) {
	if registrys[name] == nil {
		panic("registry for " + name + " does not exist. please make sure that you have imported the package `github.com/apache/dubbo-go/registry/" + name + "`.")
	}
	return registrys[name](config)

}
// GetRegistry finds the registry extension with @name
GetRegistry finds the registry extension with @name
// GetRegistry finds the registry extension with @name
func GetRegistry(name string, config *common.URL) (registry.Registry, error) {
	if registrys[name] == nil {
		panic("registry for " + name + " does not exist. please make sure that you have imported the package `github.com/apache/dubbo-go/registry/" + name + "`.")
	}
	return registrys[name](config)
}
func GetRegistry ( name string , config * common . URL ) ( registry . Registry , error ) { if registrys [ name ] == nil { panic ( " " + name + " " + name + " " ) } return registrys [ name ] ( config ) }
GetRegistry finds the registry extension with @name
GetRegistry finds the registry extension with @name