Documentation ¶
Index ¶
- func Constructor(file *protogen.File, g *protogen.GeneratedFile, ...) string
- func DescName(file *protogen.File, g *protogen.GeneratedFile, ...) (string, string)
- func Name(file *protogen.File, g *protogen.GeneratedFile, ...) string
- func PackageName(file *protogen.File, g *protogen.GeneratedFile, ...) string
- func ZeroValue(t protoreflect.Kind) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Constructor ¶
func Constructor(file *protogen.File, g *protogen.GeneratedFile, desc protoreflect.MessageDescriptor) string
func DescName ¶
func DescName(file *protogen.File, g *protogen.GeneratedFile, desc protoreflect.MessageDescriptor) (string, string)
descName returns the package and ident name
func Name ¶
func Name(file *protogen.File, g *protogen.GeneratedFile, desc protoreflect.MessageDescriptor) string
func PackageName ¶
func PackageName(file *protogen.File, g *protogen.GeneratedFile, desc protoreflect.MessageDescriptor) string
func ZeroValue ¶
func ZeroValue(t protoreflect.Kind) string
zeroValue returns the equal zero value based on the input type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.