Go quick start: adjust protoc cmd line options (#241)

Closes #236
This commit is contained in:
Patrice Chalin 2020-05-27 20:00:48 -04:00 committed by GitHub
parent c141c4f7e6
commit 1401ca0d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ Before you can use the new service method, you need to recompile the updated
While still in the `examples/helloworld` directory, run the following command:
```sh
$ protoc -I helloworld/ helloworld/helloworld.proto --go_out=plugins=grpc:helloworld
$ protoc --go_out=plugins=grpc:. --go_opt=paths=source_relative helloworld/helloworld.proto
```
This will regenerate the `helloworld/helloworld.pb.go` file, which contains: