Skip to content

Commit

Permalink
Bump golang/protobuf version to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrandhorst committed Jul 25, 2018
1 parent aab3fa1 commit 227432c
Show file tree
Hide file tree
Showing 41 changed files with 8,718 additions and 4,140 deletions.
7 changes: 4 additions & 3 deletions Gopkg.lock

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

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ required = [

[[constraint]]
name = "github.com/golang/protobuf"
version = "=1.0.0"
version = "1.1.0"

[[constraint]]
branch = "master"
Expand Down
18 changes: 5 additions & 13 deletions proto/gopherjs.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 protoc-gen-gopherjs/test/multi/multi1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ package multitest;
import "github.com/johanbrandhorst/protobuf/proto/gopherjs.proto";

option (gopherjs.gopherjs_package) = "github.com/johanbrandhorst/protobuf/protoc-gen-gopherjs/test/multi";
option go_package = "github.com/johanbrandhorst/protobuf/test/server/proto/multi";

message Multi1 {
Multi2 multi2 = 1;
Expand Down
1 change: 1 addition & 0 deletions protoc-gen-gopherjs/test/multi/multi2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ package multitest;
import "github.com/johanbrandhorst/protobuf/proto/gopherjs.proto";

option (gopherjs.gopherjs_package) = "github.com/johanbrandhorst/protobuf/protoc-gen-gopherjs/test/multi";
option go_package = "github.com/johanbrandhorst/protobuf/test/server/proto/multi";

message Multi2 {
int32 required_value = 1;
Expand Down
1 change: 1 addition & 0 deletions protoc-gen-gopherjs/test/multi/multi3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ package multitest;
import "github.com/johanbrandhorst/protobuf/proto/gopherjs.proto";

option (gopherjs.gopherjs_package) = "github.com/johanbrandhorst/protobuf/protoc-gen-gopherjs/test/multi";
option go_package = "github.com/johanbrandhorst/protobuf/test/server/proto/multi";

message Multi3 {
enum HatType {
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ regenerate:
../protoc-gen-gopherjs/test/multi/multi1.proto \
../protoc-gen-gopherjs/test/multi/multi2.proto \
../protoc-gen-gopherjs/test/multi/multi3.proto \
--go_out=plugins=grpc,Mmulti/multi1.proto=github.com/johanbrandhorst/protobuf/protoc-gen-gopherjs/test/multi:./server/proto
--go_out=plugins=grpc:${GOPATH}/src
protoc -I. -I${GOPATH}/src -I../protoc-gen-gopherjs/test \
../protoc-gen-gopherjs/test/types/types.proto \
--go_out=plugins=grpc,Mmulti/multi1.proto=github.com/johanbrandhorst/protobuf/test/server/proto/multi:./server/proto
Expand Down
65 changes: 38 additions & 27 deletions test/server/proto/multi/multi1.pb.go

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

61 changes: 46 additions & 15 deletions test/server/proto/multi/multi2.pb.go

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

Loading

0 comments on commit 227432c

Please sign in to comment.