File tree 7 files changed +9
-6
lines changed
7 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
"regexp"
21
21
"strings"
22
22
23
- "github.com/mitchellh /mapstructure"
23
+ "github.com/go-viper /mapstructure/v2 "
24
24
25
25
"entgo.io/ent/entc/gen"
26
26
)
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import (
19
19
20
20
"entgo.io/ent/entc/gen"
21
21
"entgo.io/ent/schema"
22
- "github.com/mitchellh /mapstructure"
22
+ "github.com/go-viper /mapstructure/v2 "
23
23
"google.golang.org/protobuf/types/descriptorpb"
24
24
)
25
25
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import (
19
19
20
20
"entgo.io/ent/entc/gen"
21
21
"entgo.io/ent/schema"
22
- "github.com/mitchellh /mapstructure"
22
+ "github.com/go-viper /mapstructure/v2 "
23
23
)
24
24
25
25
const MessageAnnotation = "ProtoMessage"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
21
21
"entgo.io/ent/entc/gen"
22
22
"entgo.io/ent/schema"
23
- "github.com/mitchellh /mapstructure"
23
+ "github.com/go-viper /mapstructure/v2 "
24
24
"google.golang.org/protobuf/types/descriptorpb"
25
25
_ "google.golang.org/protobuf/types/known/emptypb"
26
26
)
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ require (
8
8
github.com/AlekSi/pointer v1.1.0
9
9
github.com/alecthomas/kong v0.7.0
10
10
github.com/go-openapi/inflect v0.19.0
11
+ github.com/go-viper/mapstructure/v2 v2.2.1
11
12
github.com/google/uuid v1.6.0
12
13
github.com/hashicorp/go-multierror v1.1.1
13
14
github.com/jhump/protoreflect v1.10.1
14
15
github.com/mattn/go-sqlite3 v1.14.16
15
- github.com/mitchellh/mapstructure v1.5.0
16
16
github.com/ogen-go/ogen v0.56.1
17
17
github.com/oklog/ulid/v2 v2.0.2
18
18
github.com/stoewer/go-strcase v1.2.0
@@ -51,6 +51,7 @@ require (
51
51
github.com/mattn/go-colorable v0.1.13 // indirect
52
52
github.com/mattn/go-isatty v0.0.20 // indirect
53
53
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
54
+ github.com/mitchellh/mapstructure v1.5.0 // indirect
54
55
github.com/pmezard/go-difflib v1.0.0 // indirect
55
56
github.com/segmentio/asm v1.2.0 // indirect
56
57
github.com/sosodev/duration v1.3.1 // indirect
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ github.com/go-openapi/inflect v0.19.0 h1:9jCH9scKIbHeV9m12SmPilScz6krDxKRasNNSNP
59
59
github.com/go-openapi/inflect v0.19.0 /go.mod h1:lHpZVlpIQqLyKwJ4N+YSc9hchQy/i12fJykb83CRBH4 =
60
60
github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68 =
61
61
github.com/go-test/deep v1.0.3 /go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA =
62
+ github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss =
63
+ github.com/go-viper/mapstructure/v2 v2.2.1 /go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM =
62
64
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b /go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q =
63
65
github.com/golang/mock v1.1.1 /go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A =
64
66
github.com/golang/protobuf v1.2.0 /go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U =
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
"entgo.io/contrib/entproto"
23
23
"entgo.io/ent/dialect/entsql"
24
24
"entgo.io/ent/schema"
25
- "github.com/mitchellh /mapstructure"
25
+ "github.com/go-viper /mapstructure/v2 "
26
26
"google.golang.org/protobuf/types/descriptorpb"
27
27
)
28
28
You can’t perform that action at this time.
0 commit comments