reflect.Value.Interface (method)
29 uses
reflect (current package)
type.go#L2482: copy(tt.Elem().Field(2).Slice(0, len(methods)).Interface().([]abi.Method), methods)
value.go#L1489: func (v Value) Interface() (i any) {
encoding/asn1
asn1.go#L899: switch v := v.Addr().Interface().(type) {
marshal.go#L596: if reflect.DeepEqual(v.Interface(), defaultValue.Interface()) {
marshal.go#L605: if reflect.DeepEqual(v.Interface(), reflect.Zero(v.Type()).Interface()) {
encoding/json
encode.go#L912: ptr := v.Interface()
encode.go#L1201: v.Interface().(isZeroer).IsZero()
encode.go#L1206: return v.IsNil() || v.Interface().(isZeroer).IsZero()
encode.go#L1210: return v.Interface().(isZeroer).IsZero()
encode.go#L1220: return v.Addr().Interface().(isZeroer).IsZero()
fmt
print.go#L749: p.arg = f.Interface()
print.go#L770: p.arg = value.Interface()
github.com/gotd/td/tdp
tdp.go#L35: i, ok := v.Interface().(Object)
tdp.go#L42: if buf, ok := v.Interface().([]byte); ok {
tdp.go#L70: b.WriteString(fmt.Sprint(v.Interface()))
go.opentelemetry.io/otel/attribute
hash.go#L110: h = hashValue(h, rv.Index(i).Interface().(Value))
set.go#L119: return value.Index(idx).Interface().(KeyValue), true
set.go#L134: return rValue.Index(idx).Interface().(KeyValue).Key >= k
set.go#L139: keyValue := rValue.Index(idx).Interface().(KeyValue)
set.go#L404: *at.Index(i).Addr().Interface().(*KeyValue) = keyValue
set.go#L406: return at.Interface()
value.go#L439: return cp.Interface()
value.go#L850: appendJSONValue(dst, rv.Index(i).Interface().(Value))
go.opentelemetry.io/otel/attribute/internal
attribute.go#L62: return cp.Interface()
net/http
transfer.go#L1104: return reflect.ValueOf(r).Field(0).Interface().(io.Reader), true
transport.go#L416: if h2i, ok := v.Interface().(h2Transport); ok {
net/http/httptrace
trace.go#L199: tfCopy := reflect.ValueOf(tf.Interface())
 |
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. |