Skip to content

Commit 3174c4d

Browse files
authored
Merge pull request #195 from planetlabs/mapstructure
Update mapstructure
2 parents c6ca974 + dc20a21 commit 3174c4d

File tree

11 files changed

+12
-23
lines changed

11 files changed

+12
-23
lines changed

asset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package stac
33
import (
44
"regexp"
55

6-
"github.com/mitchellh/mapstructure"
6+
"github.com/go-viper/mapstructure/v2"
77
)
88

99
type Asset struct {

catalog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"regexp"
77

8-
"github.com/mitchellh/mapstructure"
8+
"github.com/go-viper/mapstructure/v2"
99
)
1010

1111
type Catalog struct {

catalog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"regexp"
66
"testing"
77

8-
"github.com/mitchellh/mapstructure"
8+
"github.com/go-viper/mapstructure/v2"
99
"github.com/planetlabs/go-stac"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"

collection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"regexp"
77

8-
"github.com/mitchellh/mapstructure"
8+
"github.com/go-viper/mapstructure/v2"
99
)
1010

1111
type Collection struct {

extension.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"slices"
88
"sync"
99

10-
"github.com/mitchellh/mapstructure"
10+
"github.com/go-viper/mapstructure/v2"
1111
)
1212

1313
type Extension interface {

extensions/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"regexp"
66

7-
"github.com/mitchellh/mapstructure"
7+
"github.com/go-viper/mapstructure/v2"
88
"github.com/planetlabs/go-stac"
99
)
1010

extensions/itemassets/itemassets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"regexp"
66

7-
"github.com/mitchellh/mapstructure"
7+
"github.com/go-viper/mapstructure/v2"
88
"github.com/planetlabs/go-stac"
99
)
1010

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ require (
66
github.com/dlclark/regexp2 v1.11.4
77
github.com/go-logr/logr v1.4.2
88
github.com/go-logr/zapr v1.3.0
9+
github.com/go-viper/mapstructure/v2 v2.1.0
910
github.com/google/go-github/v51 v51.0.0
1011
github.com/hashicorp/go-retryablehttp v0.7.7
11-
github.com/mitchellh/mapstructure v1.5.0
1212
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
1313
github.com/schollz/progressbar/v3 v3.14.6
1414
github.com/stretchr/testify v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
1717
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
1818
github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ=
1919
github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg=
20+
github.com/go-viper/mapstructure/v2 v2.1.0 h1:gHnMa2Y/pIxElCH2GlZZ1lZSsn6XMtufpGyP1XxdC/w=
21+
github.com/go-viper/mapstructure/v2 v2.1.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
2022
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
2123
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
2224
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
@@ -42,8 +44,6 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
4244
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
4345
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ=
4446
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw=
45-
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
46-
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
4747
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4848
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
4949
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=

item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"regexp"
77

8-
"github.com/mitchellh/mapstructure"
8+
"github.com/go-viper/mapstructure/v2"
99
)
1010

1111
var coreItemProperties = map[string]bool{

0 commit comments

Comments
 (0)