Skip to content

Commit

Permalink
address the comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Nov 1, 2021
1 parent f001b6c commit 21827ce
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 252 deletions.
2 changes: 1 addition & 1 deletion tidb-binlog/proto/generate-binlog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cd proto/

echo "generate binlog code..."
GOGO_ROOT=${GOPATH}/src/github.com/gogo/protobuf
protoc -I.:${GOGO_ROOT}:${GOGO_ROOT}/protobuf --gofast_out=../go-binlog bl.proto
protoc -I.:${GOGO_ROOT}:${GOGO_ROOT}/protobuf --gofast_out=../go-binlog secondary_binlog.proto
cd ../go-binlog
sed -i.bak -E 's/_ \"github.com\/gogo\/protobuf\/gogoproto\"//g' *.pb.go
sed -i.bak -E 's/import fmt \"fmt\"//g' *.pb.go
Expand Down
Loading

0 comments on commit 21827ce

Please sign in to comment.