protoc-gen-go-grpc: program not found or is not executable

前端 未结 5 1887
野趣味
野趣味 2020-12-16 01:34

go version: go version go1.14 linux/amd64

go.mod

module [redacted]

go 1.14

require (
    github.com/golang/protobuf v1.4.0-rc.2
    go         


        
5条回答
  •  眼角桃花
    2020-12-16 02:07

    the missing plugin has been implemented at https://github.com/grpc/grpc-go.

    command below should fix it

    go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
    

提交回复
热议问题