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 []*descriptor.File) ([]*descriptor.ResponseFile, error) }
Click to show internal directories.
Click to hide internal directories.