go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1This will read hello.proto and put both proto and grpc file inside folder "pb".
protoc --go_out=pb --go_opt=paths=source_relative --go-grpc_out=pb --go-grpc_opt=paths=source_relative hello.protoNote - both "go_out" and "go-grpc_out" are set as folder "pb"