binbin0325 commented on code in PR #2014:
URL: https://github.com/apache/dubbo-go/pull/2014#discussion_r945155685
##########
config/config_resolver.go:
##########
@@ -66,5 +73,51 @@ func GetConfigResolver(conf *loaderConf) *koanf.Koanf {
if err != nil {
panic(err)
}
- return k
+ return resolvePlaceholder(k)
+}
+
+const (
+ PlaceholderPrefix = "${"
Review Comment:
常量可以放在common#constant package下
--
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]