use only gogo protobuf
This commit is contained in:
parent
216db146ca
commit
f3d96ac5db
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue