@cryptotaxi247 / kubo / commits / 30faf11bf

fix(diag) rename proto package -> diagnostics_pb

Brian Tiger Chow committed Oct 22, 2014 at 05:10 UTC 30faf11bfaf6c45642478d3a9bb1cd3e158763e6
3 files changed +17 -7
diagnostics/internal/pb/Makefile new
+10
@@ -0,0 +1,10 @@
1 +PB = $(wildcard *.proto)
2 +GO = $(PB:.proto=.pb.go)
3 +
4 +all: $(GO)
5 +
6 +%.pb.go: %.proto
7 + protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
8 +
9 +clean:
10 + rm *.pb.go
diagnostics/internal/pb/diagnostics.pb.go renamed
+6 -6
@@ -1,19 +1,19 @@
1 -// Code generated by protoc-gen-go.
2 -// source: message.proto
1 +// Code generated by protoc-gen-gogo.
2 +// source: diagnostics.proto
3 // DO NOT EDIT!
4
5 /*
6 -Package diagnostics is a generated protocol buffer package.
6 +Package diagnostics_pb is a generated protocol buffer package.
7
8 It is generated from these files:
9 - message.proto
9 + diagnostics.proto
10
11 It has these top-level messages:
12 Message
13 */
14 -package diagnostics
14 +package diagnostics_pb
15
16 -import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
16 +import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
17 import math "math"
18
19 // Reference imports to suppress errors if they are not otherwise used.
diagnostics/internal/pb/diagnostics.proto renamed
+1 -1
@@ -1,4 +1,4 @@
1 -package diagnostics;
1 +package diagnostics.pb;
2
3 message Message {
4 required string DiagID = 1;