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

Struct stringConverter

internal/impl/convert.go:313–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311func (c *float64Converter) Zero() protoreflect.Value { return c.def }
312
313type stringConverter struct {
314 goType reflect.Type
315 def protoreflect.Value
316}
317
318func (c *stringConverter) PBValueOf(v reflect.Value) protoreflect.Value {
319 if v.Type() != c.goType {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected