type reflect.Type
128 uses
reflect (current package)
deepequal.go#L21: typ Type
makefunc.go#L46: func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {
type.go#L39: type Type interface {
type.go#L106: Implements(u Type) bool
type.go#L109: AssignableTo(u Type) bool
type.go#L115: ConvertibleTo(u Type) bool
type.go#L160: Elem() Type
type.go#L194: In(i int) Type
type.go#L198: Key() Type
type.go#L219: Out(i int) Type
type.go#L424: Type Type // method type
type.go#L599: in := make([]Type, 0, 1+ft.NumIn())
type.go#L604: out := make([]Type, 0, ft.NumOut())
type.go#L708: func (t *rtype) Elem() Type {
type.go#L744: func (t *rtype) Key() Type {
type.go#L768: func (t *rtype) In(i int) Type {
type.go#L792: func (t *rtype) Out(i int) Type {
type.go#L878: Type Type // field type
type.go#L1153: func TypeOf(i any) Type {
type.go#L1174: func PtrTo(t Type) Type { return PointerTo(t) }
type.go#L1178: func PointerTo(t Type) Type {
type.go#L1238: func (t *rtype) Implements(u Type) bool {
type.go#L1248: func (t *rtype) AssignableTo(u Type) bool {
type.go#L1256: func (t *rtype) ConvertibleTo(u Type) bool {
type.go#L1586: func ChanOf(dir ChanDir, t Type) Type {
type.go#L1625: return ti.(Type)
type.go#L1640: return ti.(Type)
type.go#L1649: func MapOf(key, elem Type) Type {
type.go#L1660: return mt.(Type)
type.go#L1669: return ti.(Type)
type.go#L1713: return ti.(Type)
type.go#L1716: var funcTypes []Type
type.go#L1719: func initFuncTypes(n int) Type {
type.go#L1723: newFuncTypes := make([]Type, n+1)
type.go#L1751: func FuncOf(in, out []Type, variadic bool) Type {
type.go#L1815: addToCache := func(tt *abi.Type) Type {
type.go#L2072: func SliceOf(t Type) Type {
type.go#L2078: return slice.(Type)
type.go#L2087: return ti.(Type)
type.go#L2102: return ti.(Type)
type.go#L2153: func StructOf(fields []StructField) Type {
type.go#L2443: for _, st := range ts.([]Type) {
type.go#L2455: for _, st := range ts.([]Type) {
type.go#L2463: addToCache := func(t Type) Type {
type.go#L2464: var ts []Type
type.go#L2466: ts = ti.([]Type)
type.go#L2624: func ArrayOf(length int, elem Type) Type {
type.go#L2634: return array.(Type)
type.go#L2643: return ti.(Type)
type.go#L2756: return ti.(Type)
type.go#L2772: func toType(t *abi.Type) Type {
value.go#L2625: func (v Value) Type() Type {
value.go#L2632: func (v Value) typeSlow() Type {
value.go#L2794: func typesMustMatch(what string, t1, t2 Type) {
value.go#L3133: func MakeSlice(typ Type, len, cap int) Value {
value.go#L3152: func MakeChan(typ Type, buffer int) Value {
value.go#L3168: func MakeMap(typ Type) Value {
value.go#L3174: func MakeMapWithSize(typ Type, n int) Value {
value.go#L3220: func Zero(typ Type) Value {
value.go#L3246: func New(typ Type) Value {
value.go#L3263: func NewAt(typ Type, p unsafe.Pointer) Value {
value.go#L3313: func (v Value) Convert(t Type) Value {
value.go#L3326: func (v Value) CanConvert(t Type) bool {
value.go#L3461: func convertOp(dst, src *abi.Type) func(Value, Type) Value {
value.go#L3559: func makeInt(f flag, bits uint64, t Type) Value {
value.go#L3577: func makeFloat(f flag, v float64, t Type) Value {
value.go#L3590: func makeFloat32(f flag, v float32, t Type) Value {
value.go#L3599: func makeComplex(f flag, v complex128, t Type) Value {
value.go#L3611: func makeString(f flag, v string, t Type) Value {
value.go#L3618: func makeBytes(f flag, v []byte, t Type) Value {
value.go#L3625: func makeRunes(f flag, v []rune, t Type) Value {
value.go#L3638: func cvtInt(v Value, t Type) Value {
value.go#L3643: func cvtUint(v Value, t Type) Value {
value.go#L3648: func cvtFloatInt(v Value, t Type) Value {
value.go#L3653: func cvtFloatUint(v Value, t Type) Value {
value.go#L3658: func cvtIntFloat(v Value, t Type) Value {
value.go#L3663: func cvtUintFloat(v Value, t Type) Value {
value.go#L3668: func cvtFloat(v Value, t Type) Value {
value.go#L3679: func cvtComplex(v Value, t Type) Value {
value.go#L3684: func cvtIntString(v Value, t Type) Value {
value.go#L3693: func cvtUintString(v Value, t Type) Value {
value.go#L3702: func cvtBytesString(v Value, t Type) Value {
value.go#L3707: func cvtStringBytes(v Value, t Type) Value {
value.go#L3712: func cvtRunesString(v Value, t Type) Value {
value.go#L3717: func cvtStringRunes(v Value, t Type) Value {
value.go#L3722: func cvtSliceArrayPtr(v Value, t Type) Value {
value.go#L3732: func cvtSliceArray(v Value, t Type) Value {
value.go#L3748: func cvtDirect(v Value, typ Type) Value {
value.go#L3763: func cvtT2I(v Value, typ Type) Value {
value.go#L3775: 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#L608: func parseSequenceOf(bytes []byte, sliceType reflect.Type, elemType reflect.Type) (ret reflect.Value, err error) {
asn1.go#L1099: Type reflect.Type
common.go#L151: func getUniversalType(t reflect.Type) (matchAny bool, tagNumber int, isCompound, ok bool) {
encoding/binary
binary.go#L502: func sizeof(t reflect.Type) int {
encoding/json
decode.go#L127: Type reflect.Type // type of Go value it could not be assigned to
decode.go#L146: Type reflect.Type
decode.go#L157: Type reflect.Type
decode.go#L206: Struct reflect.Type
encode.go#L196: Type reflect.Type
encode.go#L230: Type reflect.Type
encode.go#L344: func typeEncoder(t reflect.Type) encoderFunc {
encode.go#L380: func newTypeEncoder(t reflect.Type, allowAddr bool) encoderFunc {
encode.go#L715: func newStructEncoder(t reflect.Type) encoderFunc {
encode.go#L765: func newMapEncoder(t reflect.Type) encoderFunc {
encode.go#L826: func newSliceEncoder(t reflect.Type) encoderFunc {
encode.go#L854: func newArrayEncoder(t reflect.Type) encoderFunc {
encode.go#L882: func newPtrEncoder(t reflect.Type) encoderFunc {
encode.go#L923: func typeByIndex(t reflect.Type, index []int) reflect.Type {
encode.go#L1041: typ reflect.Type
encode.go#L1070: func typeFields(t reflect.Type) structFields {
encode.go#L1076: var count, nextCount map[reflect.Type]int
encode.go#L1079: visited := map[reflect.Type]bool{}
encode.go#L1089: count, nextCount = nextCount, map[reflect.Type]int{}
encode.go#L1270: func cachedTypeFields(t reflect.Type) structFields {
|
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. |