mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 18:13:54 +08:00
fix(namesys/pb) rename proto package -> namesys_pb
This commit is contained in:
10
namesys/internal/pb/Makefile
Normal file
10
namesys/internal/pb/Makefile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
PB = $(wildcard *.proto)
|
||||||
|
GO = $(PB:.proto=.pb.go)
|
||||||
|
|
||||||
|
all: $(GO)
|
||||||
|
|
||||||
|
%.pb.go: %.proto
|
||||||
|
protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm *.pb.go
|
@ -1,19 +1,19 @@
|
|||||||
// Code generated by protoc-gen-go.
|
// Code generated by protoc-gen-gogo.
|
||||||
// source: entry.proto
|
// source: namesys.proto
|
||||||
// DO NOT EDIT!
|
// DO NOT EDIT!
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Package namesys is a generated protocol buffer package.
|
Package namesys_pb is a generated protocol buffer package.
|
||||||
|
|
||||||
It is generated from these files:
|
It is generated from these files:
|
||||||
entry.proto
|
namesys.proto
|
||||||
|
|
||||||
It has these top-level messages:
|
It has these top-level messages:
|
||||||
IpnsEntry
|
IpnsEntry
|
||||||
*/
|
*/
|
||||||
package namesys
|
package namesys_pb
|
||||||
|
|
||||||
import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
|
import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
|
||||||
import math "math"
|
import math "math"
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
@ -1,4 +1,4 @@
|
|||||||
package namesys;
|
package namesys.pb;
|
||||||
|
|
||||||
message IpnsEntry {
|
message IpnsEntry {
|
||||||
required bytes value = 1;
|
required bytes value = 1;
|
Reference in New Issue
Block a user