Mulavar commented on a change in pull request #1491:
URL: https://github.com/apache/dubbo-go/pull/1491#discussion_r717220418



##########
File path: config/application_config.go
##########
@@ -113,3 +113,53 @@ func WithMetadataType(metadataType string) 
ApplicationConfigOpt {
                ac.MetadataType = metadataType
        }
 }
+
+func NewApplicationConfigBuilder() *ApplicationConfigBuilder {
+       return &ApplicationConfigBuilder{application: &ApplicationConfig{}}
+}
+
+type ApplicationConfigBuilder struct {
+       application *ApplicationConfig
+}
+
+func (acb *ApplicationConfigBuilder) Organization(organization string) 
*ApplicationConfigBuilder {

Review comment:
       可参考 curator,okhttp3 等框架。




-- 
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.

To unsubscribe, e-mail: [email protected]

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