Skip to content

Commit

Permalink
Merge pull request twitchtv#172 from twitchtv/empty_service
Browse files Browse the repository at this point in the history
Fix code generation for services with no methods
  • Loading branch information
spenczar authored Apr 16, 2019
2 parents 8197ed1 + 4b811e0 commit 3dcf038
Show file tree
Hide file tree
Showing 8 changed files with 840 additions and 2 deletions.
33 changes: 33 additions & 0 deletions internal/twirptest/empty_service/empty_service.pb.go

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

8 changes: 8 additions & 0 deletions internal/twirptest/empty_service/empty_service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
syntax = "proto3";

package twirp.internal.twirptest.emptyservice;

// Test to make sure that a service with no methods doesn't break.
option go_package = "empty_service";

service Empty{}
Loading

0 comments on commit 3dcf038

Please sign in to comment.