Documentation ¶
Index ¶
- func FieldGoType(g *protogen.GeneratedFile, field *protogen.Field) (goType string)
- func FieldIsOneOf(field *protogen.Field) bool
- func FieldIsPointer(field *protogen.Field) bool
- func LoadFieldList(message *protogen.Message) []*protogen.Field
- func LoadValidMessages(messages []*protogen.Message) []*protogen.Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldGoType ¶
func FieldGoType(g *protogen.GeneratedFile, field *protogen.Field) (goType string)
FieldGoType returns the Go type used for a field. If it returns pointer=true, the struct field is a pointer to the type.
func FieldIsOneOf ¶
FieldIsOneOf check the field is oneof
func FieldIsPointer ¶
FieldIsPointer check the field is pointer
func LoadFieldList ¶
LoadFieldList return valid fields list in message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.