tipb

module
v0.0.0-...-a7fd2aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2018 License: Apache-2.0

README

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 protobuf-codegen
cargo install protobuf-codegen --vers 2.0.2 --force
export PATH="$HOME/.cargo/bin:$PATH"
3. 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

Generate the Go and Rust codes

make

NOTE: Do not forget to update the dependent projects!

Directories

Path Synopsis
Package binlog is a generated protocol buffer package.
Package binlog is a generated protocol buffer package.
Package tipb is a generated protocol buffer package.
Package tipb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL