diff --git a/common/extension/registry.go b/common/extension/registry.go index 5a64fc17a7373c76c31e92f55a8c90e1096f4b1c..d2c231b7dd5cbf1c43881b97124ec1cf17c26a41 100644 --- a/common/extension/registry.go +++ b/common/extension/registry.go @@ -34,7 +34,7 @@ func SetRegistry(name string, v func(config *common.URL) (registry.Registry, err // GetRegistry ... 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+"`.") + 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)