func reflect.TypeFor
15 uses
reflect (current package)
type.go#L3080: func TypeFor[T any]() Type {
database/sql/driver
types.go#L219: var valuerReflectType = reflect.TypeFor[Valuer]()
encoding/asn1
asn1.go#L659: bitStringType = reflect.TypeFor[BitString]()
asn1.go#L660: objectIdentifierType = reflect.TypeFor[ObjectIdentifier]()
asn1.go#L661: enumeratedType = reflect.TypeFor[Enumerated]()
asn1.go#L662: flagType = reflect.TypeFor[Flag]()
asn1.go#L663: timeType = reflect.TypeFor[time.Time]()
asn1.go#L664: rawValueType = reflect.TypeFor[RawValue]()
asn1.go#L665: rawContentsType = reflect.TypeFor[RawContent]()
asn1.go#L666: bigIntType = reflect.TypeFor[*big.Int]()
encoding/json
decode.go#L594: var textUnmarshalerType = reflect.TypeFor[encoding.TextUnmarshaler]()
decode.go#L832: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeFor[float64](), Offset: int64(d.off)}
decode.go#L837: var numberType = reflect.TypeFor[Number]()
encode.go#L373: marshalerType = reflect.TypeFor[Marshaler]()
encode.go#L374: textMarshalerType = reflect.TypeFor[encoding.TextMarshaler]()
![]() |
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. |