Skip to content

Commit 97d5d9c

Browse files
Update README for issue #5
1 parent 2427756 commit 97d5d9c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,19 @@ The tool [GoConvey](https://github.com/smartystreets/goconvey) is great for seei
141141

142142
If you modify the files in `protobuf/`, run `make protobuf` to recompile all of the generated files.
143143

144+
⚠️ Please make sure that the version of protobuf matches the runtime version ([see this issue](https://github.com/Staffjoy/v2/issues/5#issuecomment-305704425)):
145+
146+
```sh
147+
go get github.com/golang/protobuf/...
148+
cd $GOPATH/src/github.com/golang/protobuf/
149+
# Switch to version that is packaged in app
150+
git checkout df1d3ca07d2d07bba352d5b73c4313b4e2a6203e
151+
# Re-install
152+
go install github.com/golang/protobuf/proto
153+
cd $GOPATH/src/v2.staffjoy.com/
154+
make protobuf
155+
```
156+
144157
If you're getting started with protocol buffers, here are some resources:
145158

146159
* [Protocol Buffers](https://developers.google.com/protocol-buffers/)

0 commit comments

Comments
 (0)