reflect.Type.Field (method)
26 uses
reflect (current package)
map.go#L71: mt.ElemOff = slot.Field(1).Offset
type.go#L178: Field(i int) StructField
type.go#L1242: f = f.Type.Field(x)
type.go#L2240: field := t.Field(0)
type.go#L2247: field := t.Field(i)
type.go#L2261: field := t.Field(i)
type.go#L2263: return field.Offset+field.Type.Size() != t.Field(i+1).Offset
value.go#L1727: if !v.Field(i).IsZero() && v.Type().Field(i).Name != "_" {
value.go#L2651: if !yield(t.Field(i), v.Field(i)) {
visiblefields.go#L67: f := t.Field(i)
encoding/asn1
asn1.go#L962: if !structType.Field(i).IsExported() {
asn1.go#L969: structType.Field(0).Type == rawContentsType {
asn1.go#L976: field := structType.Field(i)
marshal.go#L491: if !t.Field(i).IsExported() {
marshal.go#L505: if t.Field(0).Type == rawContentsType {
marshal.go#L523: return makeField(v.Field(startingField), parseFieldParameters(t.Field(startingField).Tag.Get("asn1")))
marshal.go#L527: m[i], err = makeField(v.Field(i+startingField), parseFieldParameters(t.Field(i+startingField).Tag.Get("asn1")))
encoding/binary
binary.go#L743: s := sizeof(t.Field(i).Type)
binary.go#L862: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
binary.go#L927: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
encoding/json
decode.go#L732: subv.Type().Field(ind).Name,
encode.go#L969: t = t.Field(i).Type
encode.go#L1122: sf := f.typ.Field(i)
fmt
print.go#L849: if name := f.Type().Field(i).Name; name != "" {
net/http
h2_error.go#L26: sf := srcType.Field(i)
h2_error.go#L27: df := dstType.Field(i)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |