We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1325a05 commit 0cb4f73Copy full SHA for 0cb4f73
README.md
@@ -83,15 +83,19 @@ be:
83
84
- Relative to the import path:
85
86
- protoc --go_out=. inputs/x.proto
87
- # writes ./github.com/golang/protobuf/p/x.pb.go
+```shell
+ protoc --go_out=. inputs/x.proto
88
+ # writes ./github.com/golang/protobuf/p/x.pb.go
89
+```
90
91
(This can work well with `--go_out=$GOPATH`.)
92
93
- Relative to the input file:
94
- protoc --go_out=paths=source_relative:. inputs/x.proto
- # generate ./inputs/x.pb.go
95
96
+protoc --go_out=paths=source_relative:. inputs/x.proto
97
+# generate ./inputs/x.pb.go
98
99
100
## Generated code ##
101
0 commit comments