Versions in this module Expand all Collapse all v0 v0.1.0 Aug 11, 2013 Changes in this version + func CamelCase(s string) string + func CamelCaseSlice(elem []string) string + func RegisterPlugin(p Plugin) + func RegisterUniquePackageName(pkg string, f *FileDescriptor) string + type Descriptor struct + func (c *Descriptor) File() *descriptor.FileDescriptorProto + func (c *Descriptor) PackageName() string + func (d *Descriptor) TypeName() []string + type EnumDescriptor struct + func (c *EnumDescriptor) File() *descriptor.FileDescriptorProto + func (c *EnumDescriptor) PackageName() string + func (e *EnumDescriptor) TypeName() (s []string) + type ExtensionDescriptor struct + func (c *ExtensionDescriptor) File() *descriptor.FileDescriptorProto + func (c *ExtensionDescriptor) PackageName() string + func (e *ExtensionDescriptor) DescName() string + func (e *ExtensionDescriptor) TypeName() (s []string) + type FileDescriptor struct + func (d *FileDescriptor) PackageName() string + type Generator struct + ImportMap map[string]string + ImportPrefix string + PackageImportPath string + Param map[string]string + Pkg map[string]string + Request *plugin.CodeGeneratorRequest + Response *plugin.CodeGeneratorResponse + func New() *Generator + func (g *Generator) BuildTypeNameMap() + func (g *Generator) CommandLineParameters(parameter string) + func (g *Generator) DefaultPackageName(obj Object) string + func (g *Generator) Error(err error, msgs ...string) + func (g *Generator) Fail(msgs ...string) + func (g *Generator) FileOf(fd *descriptor.FileDescriptorProto) *FileDescriptor + func (g *Generator) GenerateAllFiles() + func (g *Generator) GoType(message *Descriptor, field *descriptor.FieldDescriptorProto) (typ string, wire string) + func (g *Generator) In() + func (g *Generator) ObjectNamed(typeName string) Object + func (g *Generator) Out() + func (g *Generator) P(str ...interface{}) + func (g *Generator) PrintComments(path string) + func (g *Generator) RecordTypeUse(t string) + func (g *Generator) SetPackageNames() + func (g *Generator) TypeName(obj Object) string + func (g *Generator) TypeNameWithPackage(obj Object) string + func (g *Generator) WrapTypes() + type ImportedDescriptor struct + func (c *ImportedDescriptor) File() *descriptor.FileDescriptorProto + func (c *ImportedDescriptor) PackageName() string + func (id *ImportedDescriptor) TypeName() []string + type Object interface + File func() *descriptor.FileDescriptorProto + PackageName func() string + TypeName func() []string + type Plugin interface + Generate func(file *FileDescriptor) + GenerateImports func(file *FileDescriptor) + Init func(g *Generator) + Name func() string