type reflect.Type
149 uses
reflect (current package)
badlinkname.go#L43: func badlinkname_rtype_AssignableTo(*rtype, Type) bool
badlinkname.go#L55: func badlinkname_rtype_ConvertibleTo(*rtype, Type) bool
badlinkname.go#L58: func badlinkname_rtype_Elem(*rtype) Type
badlinkname.go#L76: func badlinkname_rtype_Implements(*rtype, Type) bool
badlinkname.go#L79: func badlinkname_rtype_In(*rtype, int) Type
badlinkname.go#L85: func badlinkname_rtype_Key(*rtype) Type
badlinkname.go#L115: func badlinkname_rtype_Out(*rtype, int) Type
deepequal.go#L21: typ Type
iter.go#L13: uintptr, N int64 | uint64](num N, t Type) iter.Seq[Value] {
makefunc.go#L47: func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {
map.go#L15: func (t *rtype) Key() Type {
map.go#L29: func MapOf(key, elem Type) Type {
map.go#L40: return mt.(Type)
map.go#L49: return ti.(Type)
map.go#L88: return ti.(Type)
map.go#L91: func groupAndSlotOf(ktyp, etyp Type) (Type, Type) {
type.go#L41: type Type interface {
type.go#L119: Implements(u Type) bool
type.go#L122: AssignableTo(u Type) bool
type.go#L128: ConvertibleTo(u Type) bool
type.go#L173: Elem() Type
type.go#L219: In(i int) Type
type.go#L224: Ins() iter.Seq[Type]
type.go#L228: Key() Type
type.go#L249: Out(i int) Type
type.go#L254: Outs() iter.Seq[Type]
type.go#L481: Type Type // method type
type.go#L659: in := make([]Type, 0, 1+ft.NumIn())
type.go#L664: out := make([]Type, 0, ft.NumOut())
type.go#L768: func (t *rtype) Elem() Type {
type.go#L820: func (t *rtype) In(i int) Type {
type.go#L844: func (t *rtype) Out(i int) Type {
type.go#L983: func (t *rtype) Ins() iter.Seq[Type] {
type.go#L987: return func(yield func(Type) bool) {
type.go#L996: func (t *rtype) Outs() iter.Seq[Type] {
type.go#L1000: return func(yield func(Type) bool) {
type.go#L1090: Type Type // field type
type.go#L1383: func TypeOf(i any) Type {
type.go#L1388: func TypeFor[T any]() Type {
type.go#L1410: func PtrTo(t Type) Type { return PointerTo(t) }
type.go#L1414: func PointerTo(t Type) Type {
type.go#L1474: func (t *rtype) Implements(u Type) bool {
type.go#L1484: func (t *rtype) AssignableTo(u Type) bool {
type.go#L1492: func (t *rtype) ConvertibleTo(u Type) bool {
type.go#L1842: func ChanOf(dir ChanDir, t Type) Type {
type.go#L1881: return ti.(Type)
type.go#L1896: return ti.(Type)
type.go#L1899: var funcTypes []Type
type.go#L1902: func initFuncTypes(n int) Type {
type.go#L1906: newFuncTypes := make([]Type, n+1)
type.go#L1934: func FuncOf(in, out []Type, variadic bool) Type {
type.go#L1998: addToCache := func(tt *abi.Type) Type {
type.go#L2149: func SliceOf(t Type) Type {
type.go#L2155: return slice.(Type)
type.go#L2164: return ti.(Type)
type.go#L2179: return ti.(Type)
type.go#L2224: func isRegularMemory(t Type) bool {
type.go#L2260: func isPaddedField(t Type, i int) bool {
type.go#L2274: func StructOf(fields []StructField) Type {
type.go#L2517: for _, st := range ts.([]Type) {
type.go#L2529: for _, st := range ts.([]Type) {
type.go#L2537: addToCache := func(t Type) Type {
type.go#L2538: var ts []Type
type.go#L2540: ts = ti.([]Type)
type.go#L2670: func ArrayOf(length int, elem Type) Type {
type.go#L2680: return array.(Type)
type.go#L2689: return ti.(Type)
type.go#L2776: return ti.(Type)
type.go#L2805: func toType(t *abi.Type) Type {
value.go#L2480: func (v Value) Type() Type {
value.go#L2488: func (v Value) typeSlow() Type {
value.go#L2707: func typesMustMatch(what string, t1, t2 Type) {
value.go#L3047: func MakeSlice(typ Type, len, cap int) Value {
value.go#L3069: func SliceAt(typ Type, p unsafe.Pointer, n int) Value {
value.go#L3076: func MakeChan(typ Type, buffer int) Value {
value.go#L3092: func MakeMap(typ Type) Value {
value.go#L3098: func MakeMapWithSize(typ Type, n int) Value {
value.go#L3131: func Zero(typ Type) Value {
value.go#L3154: func New(typ Type) Value {
value.go#L3171: func NewAt(typ Type, p unsafe.Pointer) Value {
value.go#L3221: func (v Value) Convert(t Type) Value {
value.go#L3234: func (v Value) CanConvert(t Type) bool {
value.go#L3369: func convertOp(dst, src *abi.Type) func(Value, Type) Value {
value.go#L3467: func makeInt(f flag, bits uint64, t Type) Value {
value.go#L3485: func makeFloat(f flag, v float64, t Type) Value {
value.go#L3498: func makeFloat32(f flag, v float32, t Type) Value {
value.go#L3507: func makeComplex(f flag, v complex128, t Type) Value {
value.go#L3519: func makeString(f flag, v string, t Type) Value {
value.go#L3526: func makeBytes(f flag, v []byte, t Type) Value {
value.go#L3533: func makeRunes(f flag, v []rune, t Type) Value {
value.go#L3546: func cvtInt(v Value, t Type) Value {
value.go#L3551: func cvtUint(v Value, t Type) Value {
value.go#L3556: func cvtFloatInt(v Value, t Type) Value {
value.go#L3561: func cvtFloatUint(v Value, t Type) Value {
value.go#L3566: func cvtIntFloat(v Value, t Type) Value {
value.go#L3571: func cvtUintFloat(v Value, t Type) Value {
value.go#L3576: func cvtFloat(v Value, t Type) Value {
value.go#L3587: func cvtComplex(v Value, t Type) Value {
value.go#L3592: func cvtIntString(v Value, t Type) Value {
value.go#L3601: func cvtUintString(v Value, t Type) Value {
value.go#L3610: func cvtBytesString(v Value, t Type) Value {
value.go#L3615: func cvtStringBytes(v Value, t Type) Value {
value.go#L3620: func cvtRunesString(v Value, t Type) Value {
value.go#L3625: func cvtStringRunes(v Value, t Type) Value {
value.go#L3630: func cvtSliceArrayPtr(v Value, t Type) Value {
value.go#L3640: func cvtSliceArray(v Value, t Type) Value {
value.go#L3656: func cvtDirect(v Value, typ Type) Value {
value.go#L3671: func cvtT2I(v Value, typ Type) Value {
value.go#L3683: func cvtI2I(v Value, typ Type) Value {
visiblefields.go#L16: func VisibleFields(t Type) []StructField {
visiblefields.go#L25: visiting: make(map[Type]bool),
visiblefields.go#L51: visiting map[Type]bool
visiblefields.go#L61: func (w *visibleFieldsWalker) walk(t Type) {
encoding/asn1
asn1.go#L632: func parseSequenceOf(bytes []byte, sliceType reflect.Type, elemType reflect.Type) (ret reflect.Value, err error) {
asn1.go#L1147: Type reflect.Type
common.go#L151: func getUniversalType(t reflect.Type) (matchAny bool, tagNumber int, isCompound, ok bool) {
encoding/binary
binary.go#L733: func sizeof(t reflect.Type) int {
encoding/json
decode.go#L129: Type reflect.Type // type of Go value it could not be assigned to
decode.go#L148: Type reflect.Type
decode.go#L159: Type reflect.Type
decode.go#L208: Struct reflect.Type
encode.go#L243: Type reflect.Type
encode.go#L278: Type reflect.Type
encode.go#L388: func typeEncoder(t reflect.Type) encoderFunc {
encode.go#L421: func newTypeEncoder(t reflect.Type, allowAddr bool) encoderFunc {
encode.go#L756: func newStructEncoder(t reflect.Type) encoderFunc {
encode.go#L810: func newMapEncoder(t reflect.Type) encoderFunc {
encode.go#L867: func newSliceEncoder(t reflect.Type) encoderFunc {
encode.go#L895: func newArrayEncoder(t reflect.Type) encoderFunc {
encode.go#L923: func newPtrEncoder(t reflect.Type) encoderFunc {
encode.go#L964: func typeByIndex(t reflect.Type, index []int) reflect.Type {
encode.go#L1078: typ reflect.Type
encode.go#L1093: func typeFields(t reflect.Type) structFields {
encode.go#L1099: var count, nextCount map[reflect.Type]int
encode.go#L1102: visited := map[reflect.Type]bool{}
encode.go#L1112: count, nextCount = nextCount, map[reflect.Type]int{}
encode.go#L1332: func cachedTypeFields(t reflect.Type) structFields {
 |
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. |