Documentation ¶
Index ¶
Constants ¶
View Source
const ( Optional = Label(descriptor.FieldDescriptorProto_LABEL_OPTIONAL) Required = Label(descriptor.FieldDescriptorProto_LABEL_REQUIRED) Repeated = Label(descriptor.FieldDescriptorProto_LABEL_REPEATED) )
Variables ¶
View Source
var Type = map[descriptor.FieldDescriptorProto_Type]string{ descriptor.FieldDescriptorProto_TYPE_INT32: "Int", descriptor.FieldDescriptorProto_TYPE_INT64: "Int", descriptor.FieldDescriptorProto_TYPE_FLOAT: "Float", descriptor.FieldDescriptorProto_TYPE_STRING: "String", descriptor.FieldDescriptorProto_TYPE_BOOL: "Boolean", }
Functions ¶
This section is empty.
Types ¶
type Label ¶ added in v0.0.2
type Label descriptor.FieldDescriptorProto_Label
Click to show internal directories.
Click to hide internal directories.