Documentation ¶
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.
Types ¶
type Generator ¶
type Generator interface { // Generate generates output files from input .proto files. Generate(targets []*descriptor2.File) ([]*descriptor2.ResponseFile, error) }
Click to show internal directories.
Click to hide internal directories.