grpc
ように以下のパッケージをインストールしました。
brew install protobuf go get -u -v github.com/golang/protobuf/protoc-gen-go go get -u -v google.golang.org/grpc
また、以下のようなhello.proto
ファイルを実装しました。
syntax = "proto3"; package hello; service Hello { rpc GetBalance(GetBalanceRequest) returns (GetBalanceReply); } message GetBalanceRequest { string address = 1; } message GetBalanceReply { float balance = 1; }
そして以下のコマンドを叩くとエラーが出るのですが、何が考えられるでしょうか?
protoc -I hello/ hello/hello.proto --go_out=plugins=grpc:hello #=> protoc-gen-go: program not found or is not executable #=> --go_out: protoc-gen-go: Plugin failed with status code 1.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。