Documentation ¶
Overview ¶
Package codegenerator contains reusable functions used by the code generators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRequest ¶
func ParseRequest(r io.Reader) (*pluginpb.CodeGeneratorRequest, error)
ParseRequest parses a code generator request from a proto Message.
func SetSupportedFeaturesOnCodeGeneratorResponse ¶
func SetSupportedFeaturesOnCodeGeneratorResponse(resp *pluginpb.CodeGeneratorResponse)
SetSupportedFeaturesOnCodeGeneratorResponse sets supported proto3 features on pluginpb.CodeGeneratorResponse.
func SetSupportedFeaturesOnPluginGen ¶
SetSupportedFeaturesOnPluginGen sets supported proto3 features on protogen.Plugin.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.