File tree 8 files changed +11
-7
lines changed
8 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"connectrpc.com/connect"
12
12
"github.com/creasty/defaults"
13
13
"github.com/go-playground/validator/v10"
14
- "github.com/mitchellh /mapstructure"
14
+ "github.com/go-viper /mapstructure/v2 "
15
15
"github.com/open-policy-agent/opa/rego"
16
16
"github.com/opentdf/platform/protocol/go/authorization"
17
17
"github.com/opentdf/platform/protocol/go/authorization/authorizationconnect"
Original file line number Diff line number Diff line change 1
1
package entityresolution
2
2
3
3
import (
4
- "github.com/mitchellh /mapstructure"
4
+ "github.com/go-viper /mapstructure/v2 "
5
5
"github.com/opentdf/platform/protocol/go/entityresolution"
6
6
"github.com/opentdf/platform/protocol/go/entityresolution/entityresolutionconnect"
7
7
claims "github.com/opentdf/platform/service/entityresolution/claims"
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import (
10
10
11
11
"connectrpc.com/connect"
12
12
"github.com/Nerzal/gocloak/v13"
13
+ "github.com/go-viper/mapstructure/v2"
13
14
"github.com/lestrrat-go/jwx/v2/jwt"
14
- "github.com/mitchellh/mapstructure"
15
15
"github.com/opentdf/platform/protocol/go/authorization"
16
16
"github.com/opentdf/platform/protocol/go/entityresolution"
17
17
auth "github.com/opentdf/platform/service/authorization"
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ require (
19
19
github.com/docker/go-connections v0.5.0
20
20
github.com/go-chi/cors v1.2.1
21
21
github.com/go-playground/validator/v10 v10.22.0
22
+ github.com/go-viper/mapstructure/v2 v2.2.1
22
23
github.com/google/uuid v1.6.0
23
24
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1
24
25
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
25
26
github.com/jackc/pgx/v5 v5.5.5
26
27
github.com/lestrrat-go/jwx/v2 v2.0.21
27
- github.com/mitchellh/mapstructure v1.5.0
28
28
github.com/open-policy-agent/opa v0.68.0
29
29
github.com/opentdf/platform/lib/fixtures v0.2.10
30
30
github.com/opentdf/platform/lib/flattening v0.1.3
@@ -51,6 +51,8 @@ require (
51
51
gopkg.in/yaml.v3 v3.0.1
52
52
)
53
53
54
+ require github.com/mitchellh/mapstructure v1.5.0 // indirect
55
+
54
56
require (
55
57
cel.dev/expr v0.19.1 // indirect
56
58
github.com/Masterminds/semver/v3 v3.3.1 // indirect
Original file line number Diff line number Diff line change @@ -146,6 +146,8 @@ github.com/go-resty/resty/v2 v2.12.0 h1:rsVL8P90LFvkUYq/V5BTVe203WfRIU4gvcf+yfzJ
146
146
github.com/go-resty/resty/v2 v2.12.0 /go.mod h1:o0yGPrkS3lOe1+eFajk6kBW8ScXzwU3hD69/gt2yB/0 =
147
147
github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI =
148
148
github.com/go-sql-driver/mysql v1.7.1 /go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI =
149
+ github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss =
150
+ github.com/go-viper/mapstructure/v2 v2.2.1 /go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM =
149
151
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y =
150
152
github.com/gobwas/glob v0.2.3 /go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8 =
151
153
github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA =
Original file line number Diff line number Diff line change 7
7
"net/url"
8
8
"strings"
9
9
10
- "github.com/mitchellh /mapstructure"
10
+ "github.com/go-viper /mapstructure/v2 "
11
11
kaspb "github.com/opentdf/platform/protocol/go/kas"
12
12
"github.com/opentdf/platform/protocol/go/kas/kasconnect"
13
13
"github.com/opentdf/platform/service/kas/access"
Original file line number Diff line number Diff line change 8
8
"slices"
9
9
"strings"
10
10
11
- "github.com/mitchellh /mapstructure"
11
+ "github.com/go-viper /mapstructure/v2 "
12
12
"github.com/opentdf/platform/sdk"
13
13
"github.com/opentdf/platform/service/authorization"
14
14
"github.com/opentdf/platform/service/entityresolution"
Original file line number Diff line number Diff line change 5
5
"log/slog"
6
6
7
7
"github.com/creasty/defaults"
8
- "github.com/mitchellh /mapstructure"
8
+ "github.com/go-viper /mapstructure/v2 "
9
9
"github.com/opentdf/platform/service/pkg/config"
10
10
)
11
11
You can’t perform that action at this time.
0 commit comments