@@ -12,7 +12,8 @@ require (
12
12
github.com/coreos/go-semver v0.3.0
13
13
github.com/docker/go-units v0.4.0
14
14
github.com/elliotchance/pie/v2 v2.1.0
15
- github.com/gin-gonic/gin v1.7.4
15
+ github.com/gin-contrib/cors v1.4.0
16
+ github.com/gin-gonic/gin v1.8.1
16
17
github.com/go-echarts/go-echarts v1.0.0
17
18
github.com/gogo/protobuf v1.3.2
18
19
github.com/google/btree v1.1.2
@@ -25,7 +26,7 @@ require (
25
26
github.com/pingcap/errcode v0.3.0
26
27
github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c
27
28
github.com/pingcap/failpoint v0.0.0-20200702092429-9f69995143ce
28
- github.com/pingcap/kvproto v0.0.0-20221104101942-09d82b914df1
29
+ github.com/pingcap/kvproto v0.0.0-20221221093947-0a9b14f1fc26
29
30
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3
30
31
github.com/pingcap/sysutil v0.0.0-20211208032423-041a72e5860d
31
32
github.com/pingcap/tidb-dashboard v0.0.0-20221201151320-ea3ee6971f2e
@@ -34,7 +35,7 @@ require (
34
35
github.com/sasha-s/go-deadlock v0.2.0
35
36
github.com/spf13/cobra v1.0.0
36
37
github.com/spf13/pflag v1.0.5
37
- github.com/stretchr/testify v1.7.1
38
+ github.com/stretchr/testify v1.8.0
38
39
github.com/swaggo/http-swagger v0.0.0-20200308142732-58ac5e232fba
39
40
github.com/swaggo/swag v1.8.3
40
41
github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965
@@ -50,6 +51,13 @@ require (
50
51
gotest.tools/gotestsum v1.7.0
51
52
)
52
53
54
+ require (
55
+ github.com/goccy/go-json v0.9.7 // indirect
56
+ github.com/google/go-cmp v0.5.8 // indirect
57
+ github.com/onsi/gomega v1.20.1 // indirect
58
+ github.com/pelletier/go-toml/v2 v2.0.1 // indirect
59
+ )
60
+
53
61
require (
54
62
github.com/KyleBanks/depth v1.2.1 // indirect
55
63
github.com/Masterminds/semver v1.5.0 // indirect
@@ -74,26 +82,26 @@ require (
74
82
github.com/fogleman/gg v1.3.0 // indirect
75
83
github.com/fsnotify/fsnotify v1.4.9 // indirect
76
84
github.com/ghodss/yaml v1.0.0 // indirect
77
- github.com/gin-contrib/gzip v0.0.1 // indirect
85
+ github.com/gin-contrib/gzip v0.0.1
78
86
github.com/gin-contrib/sse v0.1.0 // indirect
79
87
github.com/go-ole/go-ole v1.2.4 // indirect
80
88
github.com/go-openapi/jsonpointer v0.19.5 // indirect
81
89
github.com/go-openapi/jsonreference v0.19.6 // indirect
82
90
github.com/go-openapi/spec v0.20.4 // indirect
83
91
github.com/go-openapi/swag v0.19.15 // indirect
84
- github.com/go-playground/locales v0.13 .0 // indirect
85
- github.com/go-playground/universal-translator v0.17 .0 // indirect
86
- github.com/go-playground/validator/v10 v10.4.1 // indirect
92
+ github.com/go-playground/locales v0.14 .0 // indirect
93
+ github.com/go-playground/universal-translator v0.18 .0 // indirect
94
+ github.com/go-playground/validator/v10 v10.10.0 // indirect
87
95
github.com/go-resty/resty/v2 v2.6.0 // indirect
88
96
github.com/go-sql-driver/mysql v1.6.0 // indirect
89
97
github.com/goccy/go-graphviz v0.0.9 // indirect
90
98
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
91
99
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
92
- github.com/golang/protobuf v1.5.0 // indirect
100
+ github.com/golang/protobuf v1.5.2 // indirect
93
101
github.com/golang/snappy v0.0.4 // indirect
94
102
github.com/google/pprof v0.0.0-20211122183932-1daafda22083 // indirect
95
103
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
96
- github.com/google/uuid v1.0.0 // indirect
104
+ github.com/google/uuid v1.1.2 // indirect
97
105
github.com/gorilla/websocket v1.4.2 // indirect
98
106
github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4 // indirect
99
107
github.com/grpc-ecosystem/grpc-gateway v1.12.1 // indirect
@@ -108,10 +116,10 @@ require (
108
116
github.com/josharian/intern v1.0.0 // indirect
109
117
github.com/json-iterator/go v1.1.12 // indirect
110
118
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
111
- github.com/leodido/go-urn v1.2.0 // indirect
119
+ github.com/leodido/go-urn v1.2.1 // indirect
112
120
github.com/mailru/easyjson v0.7.6 // indirect
113
121
github.com/mattn/go-colorable v0.1.8 // indirect
114
- github.com/mattn/go-isatty v0.0.12 // indirect
122
+ github.com/mattn/go-isatty v0.0.14 // indirect
115
123
github.com/mattn/go-runewidth v0.0.8 // indirect
116
124
github.com/mattn/go-sqlite3 v1.14.9 // indirect
117
125
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
@@ -136,7 +144,7 @@ require (
136
144
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
137
145
github.com/sirupsen/logrus v1.4.2 // indirect
138
146
github.com/soheilhy/cmux v0.1.4 // indirect
139
- github.com/stretchr/objx v0.2 .0 // indirect
147
+ github.com/stretchr/objx v0.4 .0 // indirect
140
148
github.com/swaggo/files v0.0.0-20190704085106-630677cd5c14 // indirect
141
149
github.com/thoas/go-funk v0.8.0 // indirect
142
150
github.com/tidwall/gjson v1.9.3 // indirect
@@ -158,23 +166,23 @@ require (
158
166
golang.org/x/exp v0.0.0-20220321173239-a90fa8a75705
159
167
golang.org/x/image v0.0.0-20200119044424-58c23975cae1 // indirect
160
168
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
161
- golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect
169
+ golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
162
170
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be // indirect
163
171
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
164
- golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
172
+ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
165
173
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
166
174
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
167
175
google.golang.org/appengine v1.4.0 // indirect
168
176
google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c // indirect
169
177
google.golang.org/protobuf v1.28.0 // indirect
170
178
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
171
179
gopkg.in/yaml.v2 v2.4.0 // indirect
172
- gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
180
+ gopkg.in/yaml.v3 v3.0.1 // indirect
173
181
gorm.io/driver/mysql v1.0.6 // indirect
174
182
gorm.io/driver/sqlite v1.1.4 // indirect
175
183
gorm.io/gorm v1.21.9 // indirect
176
184
moul.io/zapgorm2 v1.1.0 // indirect
177
- sigs.k8s.io/yaml v1.1 .0 // indirect
185
+ sigs.k8s.io/yaml v1.2 .0 // indirect
178
186
)
179
187
180
188
// When you modify PD cooperatively with kvproto, this will be useful to submit the PR to PD and the PR to
0 commit comments