Versions in this module Expand all Collapse all v1 v1.0.9 Mar 5, 2024 v1.0.8 Mar 5, 2024 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