reflect.Type.Field (method)
31 uses
reflect (current package)
type.go#L165: Field(i int) StructField
type.go#L1155: f = f.Type.Field(x)
type.go#L2314: field := t.Field(0)
type.go#L2321: field := t.Field(i)
type.go#L2335: field := t.Field(i)
type.go#L2337: return field.Offset+field.Type.Size() != t.Field(i+1).Offset
value.go#L1633: if !v.Field(i).IsZero() && v.Type().Field(i).Name != "_" {
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#L488: if !t.Field(i).IsExported() {
marshal.go#L502: if t.Field(0).Type == rawContentsType {
marshal.go#L520: return makeField(v.Field(startingField), parseFieldParameters(t.Field(startingField).Tag.Get("asn1")))
marshal.go#L524: m[i], err = makeField(v.Field(i+startingField), parseFieldParameters(t.Field(i+startingField).Tag.Get("asn1")))
encoding/binary
binary.go#L725: s := sizeof(t.Field(i).Type)
binary.go#L844: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
binary.go#L909: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
encoding/json
encode.go#L937: t = t.Field(i).Type
encode.go#L1098: sf := f.typ.Field(i)
fmt
print.go#L848: if name := f.Type().Field(i).Name; name != "" {
github.com/oapi-codegen/runtime
bindform.go#L44: tag := tValue.Field(i).Tag.Get(tagName)
bindform.go#L100: tag := tValue.Field(i).Tag.Get(tagName)
bindform.go#L177: field := v.Type().Field(i)
bindform.go#L241: tag := parentStruct.Type().Field(i).Tag.Get(tagName)
bindform.go#L300: field := v.Type().Field(i)
bindparam.go#L499: fieldT := t.Field(i)
deepobject.go#L188: field := t.Field(i)
styleparam.go#L256: fieldT := t.Field(i)
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.7.6. (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. |