georgehao edited a comment on issue #1232: URL: https://github.com/apache/dubbo-go/issues/1232#issuecomment-855551128
我的建议:init显式化是第一步的,这个做完后,后续是否需要这么一个中间文件就能看出来了,目前这么讨论没有落脚点。 因为目前所有的初始化都是放在init里面的,所以看来main.go里面才需要那么大一坨import, 当全部显示化调用后,每个模块要依赖什么模块,自动都会import进去。 等全部显式化调用后,main.go里面理论上只需要 配置中心,注册中心,协议等这些关键组件的一个 入口文件就够了,所以并不会出现一个所谓的中间文件才对。 这是我的想法,请大佬们参考 -- 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]
