Commit 7d3d258
committed
Remove gogo registry
Since containerd is not using gogo anymore it seems like we should
remove the depenency on gogo here since gogo is a fairly large
dependency and is also unaintained.
This also gets imported by the runc shim and adds a fair amount to the
binary size (in terms of percentage of the whole size).
I did keep a fallback test in that still imports gogo and continues to
work. The test marshals a type with gogo and then unmarshals it by
typeurl.
This is why gogo is still in the go.mod
Not sure if this is worthwhile or not.
This may need a module version bump since some functions will behave
differently now.
Signed-off-by: Brian Goff <[email protected]>1 parent 35cf9db commit 7d3d258
3 files changed
Lines changed: 8 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | | - | |
116 | | - | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
| |||
149 | 146 | | |
150 | 147 | | |
151 | 148 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 149 | | |
157 | 150 | | |
158 | 151 | | |
| |||
229 | 222 | | |
230 | 223 | | |
231 | 224 | | |
232 | | - | |
| 225 | + | |
233 | 226 | | |
234 | 227 | | |
235 | 228 | | |
| |||
241 | 234 | | |
242 | 235 | | |
243 | 236 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
251 | 240 | | |
252 | 241 | | |
253 | 242 | | |
254 | 243 | | |
255 | 244 | | |
256 | 245 | | |
257 | 246 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 247 | + | |
264 | 248 | | |
265 | 249 | | |
266 | 250 | | |
267 | 251 | | |
268 | | - | |
269 | | - | |
270 | | - | |
| 252 | + | |
271 | 253 | | |
272 | 254 | | |
273 | 255 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | 256 | | |
284 | 257 | | |
285 | | - | |
| 258 | + | |
286 | 259 | | |
287 | 260 | | |
288 | | - | |
| 261 | + | |
289 | 262 | | |
290 | 263 | | |
291 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
0 commit comments