func reflect.TypeOf
43 uses
reflect (current package)
type.go#L1153: func TypeOf(i any) Type {
type.go#L1734: Type: TypeOf(funcType{}),
type.go#L1738: Type: ArrayOf(n, TypeOf(&rtype{})),
type.go#L2400: {Name: "S", Type: TypeOf(structType{})},
type.go#L2401: {Name: "U", Type: TypeOf(uncommonType{})},
type.go#L2402: {Name: "M", Type: ArrayOf(len(methods), TypeOf(methods[0]))},
encoding/asn1
asn1.go#L659: bitStringType = reflect.TypeOf(BitString{})
asn1.go#L660: objectIdentifierType = reflect.TypeOf(ObjectIdentifier{})
asn1.go#L661: enumeratedType = reflect.TypeOf(Enumerated(0))
asn1.go#L662: flagType = reflect.TypeOf(Flag(false))
asn1.go#L663: timeType = reflect.TypeOf(time.Time{})
asn1.go#L664: rawValueType = reflect.TypeOf(RawValue{})
asn1.go#L665: rawContentsType = reflect.TypeOf(RawContent(nil))
asn1.go#L666: bigIntType = reflect.TypeOf((*big.Int)(nil))
asn1.go#L1118: return nil, &invalidUnmarshalError{reflect.TypeOf(val)}
encoding/binary
binary.go#L324: return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
binary.go#L454: return errors.New("binary.Write: some values are not fixed-sized in type " + reflect.TypeOf(data).String())
encoding/json
decode.go#L174: return &InvalidUnmarshalError{reflect.TypeOf(v)}
decode.go#L594: var textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
decode.go#L830: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeOf(0.0), Offset: int64(d.off)}
decode.go#L835: var numberType = reflect.TypeOf(Number(""))
encode.go#L374: marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem()
encode.go#L375: textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
flag
flag.go#L542: typ := reflect.TypeOf(flag.Value)
fmt
print.go#L388: p.buf.writeString(reflect.TypeOf(p.arg).String())
print.go#L699: p.fmt.fmtS(reflect.TypeOf(arg).String())
print.go#L1194: p.buf.writeString(reflect.TypeOf(arg).String())
print.go#L1206: isString := arg != nil && reflect.TypeOf(arg).Kind() == reflect.String
github.com/go-faster/errors
adaptor.go#L62: p.buf.WriteString(reflect.TypeOf(f).String())
go.opentelemetry.io/otel/attribute
set.go#L51: keyValueType = reflect.TypeOf(KeyValue{})
value.go#L82: cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(int64Val)))
go.opentelemetry.io/otel/internal/attribute
attribute.go#L28: cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
attribute.go#L36: cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
attribute.go#L44: cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
attribute.go#L52: cp := reflect.New(reflect.ArrayOf(len(v), reflect.TypeOf(zero)))
attribute.go#L65: correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
attribute.go#L79: correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
attribute.go#L93: correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
attribute.go#L107: correctType := reflect.ArrayOf(correctLen, reflect.TypeOf(zero))
net/http
client.go#L337: if reflect.TypeOf(rt).String() == "*http2.Transport" {
transfer.go#L1077: var nopCloserType = reflect.TypeOf(io.NopCloser(nil))
transfer.go#L1078: var nopCloserWriterToType = reflect.TypeOf(io.NopCloser(struct {
transfer.go#L1086: switch reflect.TypeOf(r) {
|
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. |