mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
Update protobuf & grpc libraries and protoc plugins (#12679)
This commit is contained in:
@@ -10,17 +10,14 @@
|
||||
|
||||
package tools
|
||||
|
||||
// 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
|
||||
//go:generate go install github.com/golang/protobuf/protoc-gen-go
|
||||
//go:generate go install golang.org/x/tools/cmd/goimports
|
||||
//go:generate go install github.com/mitchellh/gox
|
||||
//go:generate go install github.com/client9/misspell/cmd/misspell
|
||||
//go:generate go install mvdan.cc/gofumpt
|
||||
//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
|
||||
//go:generate go install github.com/favadi/protoc-go-inject-tag
|
||||
import (
|
||||
_ "github.com/golang/protobuf/protoc-gen-go"
|
||||
|
||||
_ "golang.org/x/tools/cmd/goimports"
|
||||
|
||||
_ "github.com/mitchellh/gox"
|
||||
@@ -28,4 +25,11 @@ import (
|
||||
_ "github.com/client9/misspell/cmd/misspell"
|
||||
|
||||
_ "mvdan.cc/gofumpt"
|
||||
|
||||
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
||||
|
||||
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
||||
|
||||
_ "github.com/favadi/protoc-go-inject-tag"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user