Skip to content

v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@jhump jhump released this 16 Apr 15:12
· 2 commits to master since this release
70c8197

Package "github.com/jhump/goprotoc/plugins"

  • Adds method GoNameOfExportedServiceDesc to the GoNames type, for computing the name of the Go symbol that represents the description of a service. This supports newer versions of code generation (as of v1.0 of protoc-gen-go-grpc), which now create these variables as exported symbols. For interop with old generated code, continue to use the GoNameOfServiceDesc function, which computes the unexported variable name used by older code generators.