Documentation ¶
Index ¶
- func GenerateOutputFilenameBase(proto *descriptorpb.FileDescriptorProto) string
- func IsIgnoredPackage(s string) bool
- func IsSystemLibrary(s string) bool
- func LocatorNames(param string) []string
- func MarshalResponseAndExit(message proto.Message)
- func OutputTerminal(output []*OutputFile)
- func ReadStdinIntoBuffer(reader io.Reader, saveTemp bool, tmpDir string, protocVerbose bool) *pluginpb.CodeGeneratorRequest
- type OutputFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOutputFilenameBase ¶
func GenerateOutputFilenameBase(proto *descriptorpb.FileDescriptorProto) string
func IsIgnoredPackage ¶
func IsSystemLibrary ¶
func LocatorNames ¶
func MarshalResponseAndExit ¶
func OutputTerminal ¶
func OutputTerminal(output []*OutputFile)
func ReadStdinIntoBuffer ¶
Types ¶
type OutputFile ¶
type OutputFile struct {
// contains filtered or unexported fields
}
func NewOutputFile ¶
func NewOutputFile(name string) *OutputFile
func (*OutputFile) Close ¶
func (o *OutputFile) Close() error
func (*OutputFile) Printf ¶
func (o *OutputFile) Printf(spec string, args ...interface{})
func (*OutputFile) ToGoogleCGResponseFile ¶
func (o *OutputFile) ToGoogleCGResponseFile() *pluginpb.CodeGeneratorResponse_File
Click to show internal directories.
Click to hide internal directories.