use only gogo protobuf

This commit is contained in:
Jeromy 2015-11-15 17:44:56 -08:00
parent 216db146ca
commit f3d96ac5db
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ GO = $(PB:.proto=.pb.go)
all: $(GO)
%.pb.go: %.proto
protoc --go_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
protoc --gogo_out=. $<
clean:
rm *.pb.go

View File

@ -1,4 +1,4 @@
// Code generated by protoc-gen-go.
// Code generated by protoc-gen-gogo.
// source: crypto.proto
// DO NOT EDIT!
@ -14,7 +14,7 @@ It has these top-level messages:
*/
package crypto_pb
import proto "github.com/golang/protobuf/proto"
import proto "github.com/gogo/protobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.