v0.4.0
Pre-release
Pre-release
Package "github.com/jhump/goprotoc/plugins"
- Adds method
GoNameOfExportedServiceDesc
to theGoNames
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 ofprotoc-gen-go-grpc
), which now create these variables as exported symbols. For interop with old generated code, continue to use theGoNameOfServiceDesc
function, which computes the unexported variable name used by older code generators.