Skip to content

Commit

Permalink
chore(deps): bump github.com/knadh/koanf to v2.0.1 (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
kralicky authored Jun 9, 2023
1 parent 009db37 commit 27ed2da
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 97 deletions.
2 changes: 1 addition & 1 deletion configx/koanf_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"path/filepath"
"strings"

"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/v2"

"github.com/ory/x/stringslice"

Expand Down
2 changes: 1 addition & 1 deletion configx/koanf_full_merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
stdjson "encoding/json"
"testing"

"github.com/knadh/koanf"
"github.com/knadh/koanf/parsers/json"
"github.com/knadh/koanf/providers/rawbytes"
"github.com/knadh/koanf/v2"
)

func TestKoanfMergeArray(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion configx/koanf_memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package configx
import (
"context"

"github.com/knadh/koanf"
"github.com/knadh/koanf/parsers/json"
"github.com/knadh/koanf/v2"

"github.com/pkg/errors"

Expand Down
2 changes: 1 addition & 1 deletion configx/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/ory/jsonschema/v3"
"github.com/ory/x/logrusx"

"github.com/knadh/koanf"
"github.com/knadh/koanf/v2"

"github.com/ory/x/watcherx"
)
Expand Down
2 changes: 1 addition & 1 deletion configx/pflag.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package configx
import (
"strings"

"github.com/knadh/koanf"
"github.com/knadh/koanf/providers/posflag"
"github.com/knadh/koanf/v2"
"github.com/pkg/errors"
"github.com/spf13/pflag"

Expand Down
2 changes: 1 addition & 1 deletion configx/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"time"

"github.com/inhies/go-bytesize"
"github.com/knadh/koanf"
"github.com/knadh/koanf/parsers/json"
"github.com/knadh/koanf/providers/posflag"
"github.com/knadh/koanf/v2"
"github.com/pkg/errors"
"github.com/rs/cors"
"github.com/sirupsen/logrus"
Expand Down
8 changes: 7 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ require (
github.com/jandelgado/gcov2lcov v1.0.5
github.com/jmoiron/sqlx v1.3.5
github.com/julienschmidt/httprouter v1.3.0
github.com/knadh/koanf v1.4.4
github.com/knadh/koanf/maps v0.1.1
github.com/knadh/koanf/parsers/json v0.1.0
github.com/knadh/koanf/parsers/toml v0.1.0
github.com/knadh/koanf/parsers/yaml v0.1.0
github.com/knadh/koanf/providers/posflag v0.1.0
github.com/knadh/koanf/providers/rawbytes v0.1.0
github.com/knadh/koanf/v2 v2.0.1
github.com/lib/pq v1.10.7
github.com/luna-duclos/instrumentedsql v1.1.3
github.com/markbates/pkger v0.17.1
Expand Down
104 changes: 15 additions & 89 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion logrusx/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (

"github.com/sirupsen/logrus/hooks/test"

"github.com/knadh/koanf"
"github.com/knadh/koanf/parsers/json"
"github.com/knadh/koanf/providers/rawbytes"
"github.com/knadh/koanf/v2"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down

0 comments on commit 27ed2da

Please sign in to comment.