Unable to build protobuf to go endpoint

后端 未结 12 793
日久生厌
日久生厌 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:19

    Ensure that your path to proton-gen-go in your PATH variable is absolute (i.e. /Users/me/go/bin instead of ~/go/bin.

    Apparently protoc does not know how to expand ~.

提交回复
热议问题