reflect.Value.Field (method)
39 uses
reflect (current package)
deepequal.go#L130: if !deepValueEqual(v1.Field(i), v2.Field(i), visited) {
type.go#L1766: ft := (*funcType)(unsafe.Pointer(o.Field(0).Addr().Pointer()))
type.go#L1767: args := unsafe.Slice((**rtype)(unsafe.Pointer(o.Field(1).Addr().Pointer())), n)[0:0:n]
type.go#L2232: return recv.Field(ifield).Method(imethod).Call(args)
type.go#L2240: return recv.Field(ifield).Method(imethod).Call(args)
type.go#L2249: return recv.Field(ifield).Method(imethod).Call(args)
type.go#L2257: return recv.Field(ifield).Method(imethod).Call(args)
type.go#L2405: typ = (*structType)(tt.Elem().Field(0).Addr().UnsafePointer())
type.go#L2406: ut = (*uncommonType)(tt.Elem().Field(1).Addr().UnsafePointer())
type.go#L2408: copy(tt.Elem().Field(2).Slice(0, len(methods)).Interface().([]abi.Method), methods)
value.go#L1276: func (v Value) Field(i int) Value {
value.go#L1311: return v.Field(index[0])
value.go#L1323: v = v.Field(x)
value.go#L1334: return v.Field(index[0]), nil
value.go#L1346: v = v.Field(x)
value.go#L1630: if !v.Field(i).IsZero() {
value.go#L3374: if !v.Field(i).Comparable() {
value.go#L3448: if !v.Field(i).Equal(u.Field(i)) {
encoding/asn1
asn1.go#L929: val.Field(0).Set(reflect.ValueOf(RawContent(bytes)))
asn1.go#L938: innerOffset, err = parseField(val.Field(i), innerBytes, innerOffset, parseFieldParameters(field.Tag.Get("asn1")))
marshal.go#L506: s := v.Field(0)
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#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
decode.go#L720: subv = subv.Field(i)
encode.go#L692: fv = fv.Field(i)
fmt
print.go#L342: val := v.Field(i)
internal/fmtsort
sort.go#L157: if c := compare(aVal.Field(i), bVal.Field(i)); c != 0 {
net/http
h2_error.go#L34: df := dst.Field(i)
h2_error.go#L35: df.Set(src.Field(i).Convert(df.Type()))
transfer.go#L1088: return reflect.ValueOf(r).Field(0).Interface().(io.Reader), true
transport.go#L383: if v := rv.Field(0); v.CanInterface() {
net/http/httptrace
trace.go#L183: tf := tv.Field(i)
trace.go#L188: of := ov.Field(i)
trace.go#L206: tv.Field(i).Set(newFunc)
|
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. |