Unable to build protobuf to go endpoint

后端 未结 12 795
日久生厌
日久生厌 2021-01-30 12:39

using protobuf version 2.6.1 ( which i installed via homebrew)

I am trying to run

$ protoc --go_out=../cloud/ *.proto

I keep receiv

12条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-30 13:11

    What I did to solve this was:

    copy protoc-gen-go from the go bin folder in go workspace to /usr/local/bin/

    run your command as before in your case "protoc --go_out=../cloud/ *.proto"

提交回复
热议问题