You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of protobuf and what language are you using?
Version: libprotoc 3.10.1
What did you do? protoc -I. --go_out=plugins=paths=source_relative,grpc:gen_buggy\go\ *.proto
What did you expect to see?
Generated Go file contains *APIClient and *APIServer functions.
Or error reported of inconsistent or incompatible params.
What did you see instead?
Generated Go file does not contain *APIClient and *APIServer functions.
No errors generated.
Anything else we should know about your project / environment?
This one protoc -I. --go_out=plugins=grpc,paths=source_relative:gen\go *.proto generates go code correct.
dsnet
changed the title
protoc-gen-go: missing service defifnition in generated Go files
protoc-gen-go: missing service definition in generated Go files
Dec 19, 2019
What version of protobuf and what language are you using?
Version: libprotoc 3.10.1
What did you do?
protoc -I. --go_out=plugins=paths=source_relative,grpc:gen_buggy\go\ *.proto
What did you expect to see?
Generated Go file contains *APIClient and *APIServer functions.
Or error reported of inconsistent or incompatible params.
What did you see instead?
Generated Go file does not contain *APIClient and *APIServer functions.
No errors generated.
Anything else we should know about your project / environment?
This one
protoc -I. --go_out=plugins=grpc,paths=source_relative:gen\go *.proto
generates go code correct.Example proto-file:
The text was updated successfully, but these errors were encountered: