reflect.Type.Field (method)
18 uses
reflect (current package)
type.go#L165: Field(i int) StructField
type.go#L1012: f = f.Type.Field(x)
visiblefields.go#L67: f := t.Field(i)
encoding/asn1
asn1.go#L920: if !structType.Field(i).IsExported() {
asn1.go#L927: structType.Field(0).Type == rawContentsType {
asn1.go#L934: 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#L512: s := sizeof(t.Field(i).Type)
binary.go#L631: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
binary.go#L696: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
encoding/json
encode.go#L928: t = t.Field(i).Type
encode.go#L1099: sf := f.typ.Field(i)
fmt
print.go#L848: if name := f.Type().Field(i).Name; name != "" {
net/http
h2_error.go#L27: sf := srcType.Field(i)
h2_error.go#L28: df := dstType.Field(i)
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |