bdledger-apis/gen-go.sh
huyingcong 08f427899c change go_package path
Summary: change go_package path

Test Plan: none

Reviewers: nex, wuyi

Reviewed By: nex

Differential Revision: https://phabricator.internetapi.cn/D29
2020-01-08 10:04:41 +08:00

8 lines
375 B
Bash

#!/usr/bin/env bash
mkdir -p gen/go
protoc -I . --go_out=plugins=grpc:gen/go bdledger/api/common.proto
protoc -I . --go_out=plugins=grpc:gen/go bdledger/api/error_details.proto
protoc -I . --go_out=plugins=grpc:gen/go bdledger/api/ledger.proto
protoc -I . --go_out=plugins=grpc:gen/go bdledger/api/query.proto
protoc -I . --go_out=plugins=grpc:gen/go bdledger/api/node.proto