Skip to content

Commit

Permalink
resolve placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLBer authored and AlexStocks committed Oct 26, 2022
1 parent 3cd7828 commit 14ce032
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion config/config_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 5 additions & 1 deletion config/config_resolver_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package config

import (
"testing"
)

import (
"github.com/knadh/koanf"

"github.com/stretchr/testify/assert"
"testing"
)

func TestResolvePlaceHolder(t *testing.T) {
Expand Down

0 comments on commit 14ce032

Please sign in to comment.