Protoc-i =. — GO_OUT = PATHS = SOURCE_Relative: Gen/Go Trip. Proto: PATHS = SOURCE_Relative: Gen/Go Trip.
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 your PATH system variable
--go_out: protoc-gen-go: Plugin failed with status code 1.
$goPath /go/bin cp protoc-gen-go /usr/local/bin/ 2 Then vim ~/.zshrc, add the following line (I found this step can not be used, after the first step can compile…) Export GOPATH=$HOME/go PATH=$PATH:$GOPATH/bin