You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-12Lines changed: 28 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,33 +20,49 @@ Please see the following for detailed descriptions of each type:
20
20
21
21
## Generating code
22
22
23
-
Note: Due to [maps not being supported in protoc v2.X](https://github.com/google/protobuf/issues/799#issuecomment-138207911), the proto definitions in this repository require protoc v3.0.0 or higher.
23
+
### Setup
24
+
25
+
Install protobuf.
26
+
27
+
*Note: Due to [maps not being supported in protoc v2.X](https://github.com/google/protobuf/issues/799#issuecomment-138207911), the proto definitions in this repository require protoc v3.0.0 or higher.*
28
+
29
+
On mac:
30
+
```
31
+
brew install protobuf
32
+
```
24
33
25
34
### Go
26
35
27
-
Code generation for Go has moved to the [Sonde-Go](https://github.com/cloudfoundry/sonde-go) library.
36
+
The [Sonde-Go](https://github.com/cloudfoundry/sonde-go) library can be used instead.
28
37
29
-
### Java
38
+
Or, from your working directory, where `$DST_DIR` is the desired destination:
39
+
```
40
+
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
For C++ and Python, Google provides [tutorials](https://developers.google.com/protocol-buffers/docs/tutorials).
41
58
42
-
Please see [this list](https://github.com/google/protobuf/wiki/Third-Party-Add-ons#Programming_Languages) for working with protocol buffers in other languages.
59
+
Please see [this list](https://github.com/protocolbuffers/protobuf/blob/master/docs/third_party.md) for working with protocol buffers in other languages.
43
60
44
61
### Message documentation
45
62
46
-
Each package's documentation is auto-generated with [protoc-gen-doc](https://github.com/estan/protoc-gen-doc). After installing the tool, run:
63
+
Each package's documentation is auto-generated with [protoc-gen-doc](https://github.com/estan/protoc-gen-doc). After installing the tool, run the following from your working directory:
0 commit comments