Skip to content

Commit

Permalink
dev: replace mitchellh/mapstructure by go-viper/mapstructure/v2 (#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Jan 30, 2024
1 parent 11bf3d6 commit e4c6e1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ require (
github.com/fzipp/gocyclo v0.6.0
github.com/ghostiam/protogetter v0.3.4
github.com/go-critic/go-critic v0.11.0
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1
github.com/go-xmlfmt/xmlfmt v1.1.2
github.com/gofrs/flock v0.8.1
github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
Expand Down Expand Up @@ -77,7 +78,6 @@ require (
github.com/mgechev/revive v1.3.6
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/go-ps v1.0.0
github.com/mitchellh/mapstructure v1.5.0
github.com/moricho/tparallel v0.3.1
github.com/nakabonne/nestif v0.3.1
github.com/nishanths/exhaustive v0.12.0
Expand Down Expand Up @@ -162,6 +162,7 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/config/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"path/filepath"
"strings"

"github.com/go-viper/mapstructure/v2"
"github.com/mitchellh/go-homedir"
"github.com/mitchellh/mapstructure"
"github.com/spf13/viper"
"golang.org/x/exp/slices"

Expand Down

0 comments on commit e4c6e1f

Please sign in to comment.