--go_out: protoc-gen-go: Plugin failed with status code 1.

在mac环境下:

protoc-gen-go: program not found or is not executable Please specify a program using absolute path or make sure the program is available in you --go_out: protoc-gen-go: Plugin failed with status code 1.

 

解决方法:

brew install protoc-gen-go
brew install protoc-gen-go-grpc

 

posted @ 2024-01-14 21:34  程序员小艺  阅读(257)  评论(0编辑  收藏  举报