Is this field repeated?
(field *descriptor.FieldDescriptorProto)
| 2705 | |
| 2706 | // Is this field repeated? |
| 2707 | func isRepeated(field *descriptor.FieldDescriptorProto) bool { |
| 2708 | return field.Label != nil && *field.Label == descriptor.FieldDescriptorProto_LABEL_REPEATED |
| 2709 | } |
| 2710 | |
| 2711 | // Is this field a scalar numeric type? |
| 2712 | func isScalar(field *descriptor.FieldDescriptorProto) bool { |
no outgoing calls
no test coverage detected