Documentation ¶
Index ¶
- Variables
- func BuildField(fileDescriptorSet *descriptor.FileDescriptorSet, ...) string
- func Builder(visited map[string]struct{}, root bool, fieldname string, help string, ...) string
- func BuilderMap(visited map[string]struct{}, fieldname string, repeated bool, ...) []string
- func Create(methodName, packageName, messageName string, g *generator.Generator) string
- func CreateCustom(methodName, packageName, messageName string, g *generator.Generator, ...) string
- func Init(methodName string, fieldname string, repeated bool, ...) string
- type FieldBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var Header string = `` /* 11840-byte string literal not displayed */
Functions ¶
func BuildField ¶
func BuildField(fileDescriptorSet *descriptor.FileDescriptorSet, msg *descriptor.DescriptorProto, f *descriptor.FieldDescriptorProto, help string, proto3 bool) string
func BuilderMap ¶
func BuilderMap(visited map[string]struct{}, fieldname string, repeated bool, msg *descriptor.DescriptorProto, fileDescriptorSet *descriptor.FileDescriptorSet) []string
func CreateCustom ¶
func CreateCustom(methodName, packageName, messageName string, g *generator.Generator, buildField FieldBuilder) string
func Init ¶
func Init(methodName string, fieldname string, repeated bool, msg *descriptor.DescriptorProto) string
Types ¶
type FieldBuilder ¶
type FieldBuilder func(fileDescriptorSet *descriptor.FileDescriptorSet, msg *descriptor.DescriptorProto, f *descriptor.FieldDescriptorProto, help string, proto3 bool) string
Click to show internal directories.
Click to hide internal directories.