Migrate to newer grpc utilities and bump deps (#593)
* Migrate to newer grpc utilities and bump deps * Revert grpc back as it was an accidental tag
This commit is contained in:
1 parent
273cf29ba4
commit
7f00e61ab0
34 files changed
+4511
-4474
No files matched your search
+6
-6
@@ -16,13 +16,14 @@ package tools
|
||||
//go:generate go install github.com/bufbuild/buf/cmd/buf
|
||||
//go:generate go install github.com/favadi/protoc-go-inject-tag
|
||||
//go:generate go install github.com/go-swagger/go-swagger/cmd/swagger
|
||||
//go:generate go install github.com/golang/protobuf/protoc-gen-go
|
||||
//go:generate go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
|
||||
//go:generate go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
|
||||
//go:generate go install golang.org/x/tools/cmd/goimports
|
||||
//go:generate go install github.com/oligot/go-mod-upgrade
|
||||
//go:generate go install github.com/mitchellh/gox
|
||||
//go:generate go install github.com/go-bindata/go-bindata/v3/go-bindata
|
||||
//go:generate go install google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
||||
|
||||
import (
|
||||
_ "github.com/bufbuild/buf/cmd/buf"
|
||||
@@ -31,11 +32,6 @@ import (
|
||||
|
||||
_ "github.com/go-swagger/go-swagger/cmd/swagger"
|
||||
|
||||
// use this instead of google.golang.org/protobuf/cmd/protoc-gen-go since this supports grpc plugin while the other does not.
|
||||
// see https://github.com/golang/protobuf/releases#v1.4-generated-code and
|
||||
// https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0#v1.20-grpc-support
|
||||
_ "github.com/golang/protobuf/protoc-gen-go"
|
||||
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
|
||||
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
|
||||
@@ -47,4 +43,8 @@ import (
|
||||
_ "github.com/mitchellh/gox"
|
||||
|
||||
_ "github.com/go-bindata/go-bindata/v3/go-bindata"
|
||||
|
||||
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
||||
|
||||
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
||||
)
|
||||
Reference in new issue
Block a user