filegenerator

package
v0.0.0-...-a78facf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2017 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL