Documentation ¶
Index ¶
- func FieldContainMessage(field *protogen.Field) bool
- func FieldGoName(field *protogen.Field, inOneOf bool) string
- func FieldGoType(g *protogen.GeneratedFile, field *protogen.Field) (goType string)
- func FieldIsOneOf(field *protogen.Field) bool
- func FieldIsOptional(field *protogen.Field) bool
- func FieldProtoName(field *protogen.Field, inOneOf bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldContainMessage ¶
FieldContainMessage represents whether the field contains a data of type `message`.
func FieldGoName ¶
FieldGoName returns the field name in Golang.
func FieldGoType ¶
func FieldGoType(g *protogen.GeneratedFile, field *protogen.Field) (goType string)
FieldGoType returns the Go type used for a field.
func FieldIsOneOf ¶
FieldIsOneOf represents whether the field type is `oneof`
func FieldIsOptional ¶
FieldIsOptional represents whether the field has qualifier modifier `optional`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.