提交 f620f87c 作者: Brian Tiger Chow

fix(merkledag/pb) rename proto package -> merkledag_pb

上级 c4ea2392
PB = $(wildcard *.proto)
GO = $(PB:.proto=.pb.go)
all: node.pb.go all: $(GO)
node.pb.go: node.proto %.pb.go: %.proto
protoc --gogo_out=. --proto_path=../../../../:/usr/local/opt/protobuf/include:. $< protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
clean: clean:
rm node.pb.go rm -f *.pb.go
rm -f *.go
package merkledag; package merkledag.pb;
import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto"; import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";
......
// Code generated by protoc-gen-gogo. // Code generated by protoc-gen-gogo.
// source: node.proto // source: merkledag.proto
// DO NOT EDIT! // DO NOT EDIT!
/* /*
Package merkledag is a generated protocol buffer package. Package merkledag_pb is a generated protocol buffer package.
It is generated from these files: It is generated from these files:
node.proto merkledag.proto
It has these top-level messages: It has these top-level messages:
PBLink PBLink
PBNode PBNode
*/ */
package merkledag package merkledag_pb
import testing "testing" import testing "testing"
import math_rand "math/rand" import math_rand "math/rand"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论