mirror of https://github.com/grpc/grpc.io.git
parent
c141c4f7e6
commit
1401ca0d29
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue