Commit f3d96ac5 authored by Jeromy's avatar Jeromy
Browse files

use only gogo protobuf

parent 216db146
...@@ -4,7 +4,7 @@ GO = $(PB:.proto=.pb.go) ...@@ -4,7 +4,7 @@ GO = $(PB:.proto=.pb.go)
all: $(GO) all: $(GO)
%.pb.go: %.proto %.pb.go: %.proto
protoc --go_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $< protoc --gogo_out=. $<
clean: clean:
rm *.pb.go rm *.pb.go
// Code generated by protoc-gen-go. // Code generated by protoc-gen-gogo.
// source: crypto.proto // source: crypto.proto
// DO NOT EDIT! // DO NOT EDIT!
...@@ -14,7 +14,7 @@ It has these top-level messages: ...@@ -14,7 +14,7 @@ It has these top-level messages:
*/ */
package crypto_pb package crypto_pb
import proto "github.com/golang/protobuf/proto" import proto "github.com/gogo/protobuf/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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment