因为protoc需要依赖调用protoc-gen-go,所以,它的路径必须要添加到环境变量里面去。 它存在于$GOPATH/bin之下。 我使用的shell是zsh,因此需要修改配置`/.zshrc
確定! 回上一頁