tools: Update of go.mod for protos (gogo/protobuf 1.3.1, grpc 1.29.1, grpc-gateway 1.14.6)

This brings consistency between proto-generation code and actual versions of libraries being used in runtime:

github.com/gogo/protobuf                        v1.2.1,v1.0.0 -> v1.3.1
github.com/golang/protobuf                             v1.3.2 -> v1.3.5
github.com/grpc-ecosystem/grpc-gateway  v1.9.5,v1.4.1,v1.15.2 -> v1.14.6
google.golang.org/grpc                                v1.26.0 -> v1.29.1

Moved as far as possible, without bumping on grpc 1.30.0 "naming" decomissioning.
Please also notice that gogo/protobuf is likely to reach EOL: https://github.com/gogo/protobuf/issues/691
This commit is contained in:
Piotr Tabor
2020-10-14 10:31:51 +02:00
parent b08a46d37d
commit da5ca2c0d5
11 changed files with 159 additions and 130 deletions

View File

@@ -4,11 +4,11 @@ go 1.15
require (
github.com/coreos/go-semver v0.2.0
github.com/gogo/protobuf v1.2.1
github.com/golang/protobuf v1.3.2
github.com/grpc-ecosystem/grpc-gateway v1.9.5
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
google.golang.org/grpc v1.26.0
github.com/gogo/protobuf v1.3.1
github.com/golang/protobuf v1.3.5
github.com/grpc-ecosystem/grpc-gateway v1.14.6
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884
google.golang.org/grpc v1.29.1
)
// Bad imports are sometimes causing attempts to pull that code.