MCPcopy Create free account
hub / github.com/segmentio/encoding / Field

Method Field

proto/reflect.go:75–75  ·  view source on GitHub ↗

Returns the Field at the given in Type. If the Type does not represent a struct type, the method panics.

(int)

Source from the content-addressed store, hash-verified

73 //
74 // If the Type does not represent a struct type, the method panics.
75 Field(int) Field
76
77 // Returns the Field with the given name in Type.
78 //

Callers 11

inlinedFunction · 0.65
mapDecodeFuncOfFunction · 0.65
structCodecOfFunction · 0.65
structTypeOfFunction · 0.65
forEachStructFieldFunction · 0.65
encodeMethod · 0.65
decodeMethod · 0.65
appendStructFieldsFunction · 0.65
inlinedFunction · 0.65
initFunction · 0.65

Implementers 4

primitiveTypeproto/reflect.go
mapTypeproto/reflect.go
structTypeproto/reflect.go
opaqueMessageTypeproto/reflect.go

Calls

no outgoing calls

Tested by

no test coverage detected