This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit 14ce0321da321b67cf376d5de0e9de83df0fed6d
Author: zlb <[email protected]>
AuthorDate: Thu Aug 11 23:44:44 2022 +0800

    resolve placeholder
---
 config/config_resolver.go      | 6 +++++-
 config/config_resolver_test.go | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/config/config_resolver.go b/config/config_resolver.go
index 95b4c60e8..fe84e9815 100644
--- a/config/config_resolver.go
+++ b/config/config_resolver.go
@@ -17,15 +17,19 @@
 
 package config
 
+import (
+       "strings"
+)
+
 import (
        log "github.com/dubbogo/gost/log/logger"
+
        "github.com/knadh/koanf"
        "github.com/knadh/koanf/parsers/json"
        "github.com/knadh/koanf/parsers/toml"
        "github.com/knadh/koanf/parsers/yaml"
        "github.com/knadh/koanf/providers/confmap"
        "github.com/knadh/koanf/providers/rawbytes"
-       "strings"
 
        "github.com/pkg/errors"
 )
diff --git a/config/config_resolver_test.go b/config/config_resolver_test.go
index 97b496cd3..6c7cc8d43 100644
--- a/config/config_resolver_test.go
+++ b/config/config_resolver_test.go
@@ -1,9 +1,13 @@
 package config
 
+import (
+       "testing"
+)
+
 import (
        "github.com/knadh/koanf"
+
        "github.com/stretchr/testify/assert"
-       "testing"
 )
 
 func TestResolvePlaceHolder(t *testing.T) {

Reply via email to