Versions in this module Expand all Collapse all v1 v1.0.3 Dec 11, 2019 v1.0.2 Nov 21, 2019 v1.0.1 Nov 13, 2019 v1.0.0 Oct 31, 2019 Changes in this version + var ErrFileSkipped = errors.New("files was skipped") + var ErrNilOptions = errors.New("options are nil") + func OptHelpers(packageName string) string + func ProcessFile(f *descriptor.FileDescriptorProto, packageName, helperPackageName *string, ...) (string, string, error) + func SetParameters(setter Setter, param *string) error + func Version() string + type Data struct + Dst string + DstFn string + DstPointer string + DstPref string + Fields []Field + HelperPackage string + Ptr bool + Src string + SrcFn string + SrcPointer string + SrcPref string + Swapped bool + func (d Data) P(t bool) Data + type Field struct + GoIsPointer bool + GoToProtoType string + Name string + OneofDecl string + Opts string + ProtoIsPointer bool + ProtoName string + ProtoToGoType string + ProtoType string + UsePackage bool + func (f Field) IsOneof() bool + type MessageOption interface + Full func() string + Omitted func() bool + OneofDecl func() string + Target func() string + type MessageOptionList map[string]MessageOption + func CollectAllMessages(req plugin.CodeGeneratorRequest) (MessageOptionList, error) + func (sol MessageOptionList) String() string + type OneofData struct + Decl string + GoType string + OneofDecl string + ProtoPackage string + ProtoType string + type Setter interface + Set func(string, string) error + type WriteStringer interface