Skip to content

Commit 2be1bca

Browse files
kkishidfawley
authored andcommitted
Update proto generation commands in example doc (#1481)
1 parent e696c3d commit 2be1bca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ OPTIONAL - Rebuilding the generated code
5151

5252
```
5353
$ go get -a github.com/golang/protobuf/protoc-gen-go
54-
$
55-
$ # from this dir; invoke protoc
56-
$ protoc -I ./helloworld/helloworld/ ./helloworld/helloworld/helloworld.proto --go_out=plugins=grpc:helloworld
54+
```
55+
56+
3 Rebuild the generated Go code.
57+
58+
```
59+
$ go generate google.golang.org/grpc/examples/helloworld/...
5760
```

0 commit comments

Comments
 (0)