protoc-gen-go install ubuntu code example
Example 1: install protoc ubuntu
$ apt install -y protobuf-compiler
$ protoc --version # Ensure compiler version is 3+
Example 2: "protoc-gen-go: program not found or is not executable"
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}