File tree Expand file tree Collapse file tree 11 files changed +12
-23
lines changed Expand file tree Collapse file tree 11 files changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package stac
33import (
44 "regexp"
55
6- "github.com/mitchellh /mapstructure"
6+ "github.com/go-viper /mapstructure/v2 "
77)
88
99type Asset struct {
Original file line number Diff line number Diff line change 55 "fmt"
66 "regexp"
77
8- "github.com/mitchellh /mapstructure"
8+ "github.com/go-viper /mapstructure/v2 "
99)
1010
1111type Catalog struct {
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 55 "fmt"
66 "regexp"
77
8- "github.com/mitchellh /mapstructure"
8+ "github.com/go-viper /mapstructure/v2 "
99)
1010
1111type Collection struct {
Original file line number Diff line number Diff line change 77 "slices"
88 "sync"
99
10- "github.com/mitchellh /mapstructure"
10+ "github.com/go-viper /mapstructure/v2 "
1111)
1212
1313type Extension interface {
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
1717github.com/go-logr/logr v1.4.2 /go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY =
1818github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ =
1919github.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 =
2022github.com/golang/protobuf v1.3.1 /go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U =
2123github.com/golang/protobuf v1.5.0 /go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk =
2224github.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
4244github.com/mattn/go-isatty v0.0.20 /go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y =
4345github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ =
4446github.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 =
4747github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
4848github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
4949github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ =
Original file line number Diff line number Diff line change 55 "fmt"
66 "regexp"
77
8- "github.com/mitchellh /mapstructure"
8+ "github.com/go-viper /mapstructure/v2 "
99)
1010
1111var coreItemProperties = map [string ]bool {
You can’t perform that action at this time.
0 commit comments