MCPcopy
hub / github.com/protocolbuffers/protobuf-go / enumConverter

Struct enumConverter

internal/impl/convert.go:370–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368func (c *bytesConverter) Zero() protoreflect.Value { return c.def }
369
370type enumConverter struct {
371 goType reflect.Type
372 def protoreflect.Value
373}
374
375func newEnumConverter(goType reflect.Type, fd protoreflect.FieldDescriptor) Converter {
376 var def protoreflect.Value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected