Skip to content

Commit

Permalink
Merge pull request #350 from tomwilkie/go_package
Browse files Browse the repository at this point in the history
Add go_package
  • Loading branch information
awalterschulze authored Nov 7, 2017
2 parents 117892b + 8ddeac9 commit f83204b
Show file tree
Hide file tree
Showing 41 changed files with 10,614 additions and 10,605 deletions.
2 changes: 1 addition & 1 deletion gogoproto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

regenerate:
go install github.com/gogo/protobuf/protoc-gen-gogo
protoc --gogo_out=Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:. --proto_path=../../../../:../protobuf/:. *.proto
protoc --gogo_out=Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:../../../../ --proto_path=../../../../:../protobuf/:. *.proto

restore:
cp gogo.pb.golden gogo.pb.go
Expand Down
155 changes: 78 additions & 77 deletions gogoproto/gogo.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions gogoproto/gogo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import "google/protobuf/descriptor.proto";

option java_package = "com.google.protobuf";
option java_outer_classname = "GoGoProtos";
option go_package = "github.com/gogo/protobuf/gogoproto";

extend google.protobuf.EnumOptions {
optional bool goproto_enum_prefix = 62001;
Expand Down
2 changes: 1 addition & 1 deletion jsonpb/jsonpb_test_proto/test_objects.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f83204b

Please sign in to comment.