Documentation ¶
Overview ¶
Package execprotoc provides an interface for interacting with proto requiring only paths to files on disk
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeGeneratorRequest ¶
func CodeGeneratorRequest(protoPaths, gopath []string) (*plugin.CodeGeneratorRequest, error)
CodeGeneratorRequest returns a protoc CodeGeneratorRequest from running protoc on protoPaths TODO: replace getProtocOutput with some other way of getting the protoc ast. i.e. the binary data that will allow proto.Unmarshal to Unmashal the .proto file into a *plugin.CodeGeneratorRequest
func GeneratePBDotGo ¶
GeneratePBDotGo creates .pb.go files from the passed protoPaths and writes them to outDir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.