Mulavar opened a new issue #1232:
URL: https://github.com/apache/dubbo-go/issues/1232


   以现在的 dubbo-go sample 为例,想要正常启动需要 import 多个拓展点如下:
   import (
        hessian "github.com/apache/dubbo-go-hessian2"
        _ "github.com/apache/dubbo-go/cluster/cluster_impl"
        _ "github.com/apache/dubbo-go/cluster/loadbalance"
        _ "github.com/apache/dubbo-go/common/proxy/proxy_factory"
        "github.com/apache/dubbo-go/config"
        _ "github.com/apache/dubbo-go/filter/filter_impl"
        _ "github.com/apache/dubbo-go/protocol/dubbo"
        _ "github.com/apache/dubbo-go/registry/protocol"
        _ "github.com/apache/dubbo-go/registry/zookeeper"
   )
   
   是否可以考虑借鉴 spring - spring boot 简化配置的路子,加个中间 go 
文件,里面做不同拓展点的组装集成,让用户根据需要选择其中1~2个import就行,降低使用门槛。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to