Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoType ¶
func GoType(message *descriptor.DescriptorProto, field *descriptor.FieldDescriptorProto) (typ string)
GoType returns a string representing the type name
Types ¶
type FileGenerator ¶
type FileGenerator struct {
// contains filtered or unexported fields
}
func New ¶
func New(w io.Writer) *FileGenerator
func (*FileGenerator) Generate ¶
func (fg *FileGenerator) Generate(file *descriptor.FileDescriptorProto)
func (*FileGenerator) In ¶
func (fg *FileGenerator) In()
func (*FileGenerator) Out ¶
func (fg *FileGenerator) Out()
func (*FileGenerator) P ¶
func (fg *FileGenerator) P(format string, a ...interface{}) error
Click to show internal directories.
Click to hide internal directories.