tipb
TiDB protobuf files
Requirements
google/protobuf
1. InstallWe use protoc
3.5.1, to download: protobuf/releases/tag/v3.5.1
gogo/protobuf
2. InstallWe use protoc-gen-gofast
v0.5, to install:
go get -u github.com/gogo/protobuf/protoc-gen-gofast
cd $GOPATH/src/github.com/gogo/protobuf
git checkout v0.5
rm $GOPATH/bin/protoc-gen-gofast
go get github.com/gogo/protobuf/protoc-gen-gofast
goimports
4. Installgo get golang.org/x/tools/cmd/goimports
Generate the Go and Rust codes
make
NOTE: Do not forget to update the dependent projects!