Skip to content

eurekaka/tipb

 
 

Repository files navigation

tipb

TiDB protobuf files

Requirements

1. Install google/protobuf

We use protoc 3.5.1, to download: protobuf/releases/tag/v3.5.1

2. Install gogo/protobuf

We 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

4. Install goimports

go get golang.org/x/tools/cmd/goimports

Generate the Go and Rust codes

make

NOTE: Do not forget to update the dependent projects!

About

TiDB protobuf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.4%
  • Other 0.6%