You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/08/13 14:52:44 UTC
[GitHub] [dubbo-go] binbin0325 commented on a diff in pull request #2014: feat: resolve placeholder
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org