type reflect.Type
142 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#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#L201: In(i int) Type
type.go#L205: Key() Type
type.go#L226: Out(i int) Type
type.go#L453: Type Type // method type
type.go#L631: in := make([]Type, 0, 1+ft.NumIn())
type.go#L636: out := make([]Type, 0, ft.NumOut())
type.go#L740: func (t *rtype) Elem() Type {
type.go#L776: func (t *rtype) Key() Type {
type.go#L800: func (t *rtype) In(i int) Type {
type.go#L824: func (t *rtype) Out(i int) Type {
type.go#L1021: Type Type // field type
type.go#L1296: func TypeOf(i any) Type {
type.go#L1315: func PtrTo(t Type) Type { return PointerTo(t) }
type.go#L1319: func PointerTo(t Type) Type {
type.go#L1379: func (t *rtype) Implements(u Type) bool {
type.go#L1389: func (t *rtype) AssignableTo(u Type) bool {
type.go#L1397: func (t *rtype) ConvertibleTo(u Type) bool {
type.go#L1747: func ChanOf(dir ChanDir, t Type) Type {
type.go#L1786: return ti.(Type)
type.go#L1801: return ti.(Type)
type.go#L1810: func MapOf(key, elem Type) Type {
type.go#L1821: return mt.(Type)
type.go#L1830: return ti.(Type)
type.go#L1874: return ti.(Type)
type.go#L1877: var funcTypes []Type
type.go#L1880: func initFuncTypes(n int) Type {
type.go#L1884: newFuncTypes := make([]Type, n+1)
type.go#L1912: func FuncOf(in, out []Type, variadic bool) Type {
type.go#L1976: addToCache := func(tt *abi.Type) Type {
type.go#L2223: func SliceOf(t Type) Type {
type.go#L2229: return slice.(Type)
type.go#L2238: return ti.(Type)
type.go#L2253: return ti.(Type)
type.go#L2298: func isRegularMemory(t Type) bool {
type.go#L2334: func isPaddedField(t Type, i int) bool {
type.go#L2348: func StructOf(fields []StructField) Type {
type.go#L2596: for _, st := range ts.([]Type) {
type.go#L2608: for _, st := range ts.([]Type) {
type.go#L2616: addToCache := func(t Type) Type {
type.go#L2617: var ts []Type
type.go#L2619: ts = ti.([]Type)
type.go#L2782: func ArrayOf(length int, elem Type) Type {
type.go#L2792: return array.(Type)
type.go#L2801: return ti.(Type)
type.go#L2914: return ti.(Type)
type.go#L2943: func toType(t *abi.Type) Type {
type.go#L3080: func TypeFor[T any]() Type {
value.go#L2681: func (v Value) Type() Type {
value.go#L2689: func (v Value) typeSlow() Type {
value.go#L2866: func typesMustMatch(what string, t1, t2 Type) {
value.go#L3205: func MakeSlice(typ Type, len, cap int) Value {
value.go#L3227: func SliceAt(typ Type, p unsafe.Pointer, n int) Value {
value.go#L3234: func MakeChan(typ Type, buffer int) Value {
value.go#L3250: func MakeMap(typ Type) Value {
value.go#L3256: func MakeMapWithSize(typ Type, n int) Value {
value.go#L3289: func Zero(typ Type) Value {
value.go#L3312: func New(typ Type) Value {
value.go#L3329: func NewAt(typ Type, p unsafe.Pointer) Value {
value.go#L3379: func (v Value) Convert(t Type) Value {
value.go#L3392: func (v Value) CanConvert(t Type) bool {
value.go#L3527: func convertOp(dst, src *abi.Type) func(Value, Type) Value {
value.go#L3625: func makeInt(f flag, bits uint64, t Type) Value {
value.go#L3643: func makeFloat(f flag, v float64, t Type) Value {
value.go#L3656: func makeFloat32(f flag, v float32, t Type) Value {
value.go#L3665: func makeComplex(f flag, v complex128, t Type) Value {
value.go#L3677: func makeString(f flag, v string, t Type) Value {
value.go#L3684: func makeBytes(f flag, v []byte, t Type) Value {
value.go#L3691: func makeRunes(f flag, v []rune, t Type) Value {
value.go#L3704: func cvtInt(v Value, t Type) Value {
value.go#L3709: func cvtUint(v Value, t Type) Value {
value.go#L3714: func cvtFloatInt(v Value, t Type) Value {
value.go#L3719: func cvtFloatUint(v Value, t Type) Value {
value.go#L3724: func cvtIntFloat(v Value, t Type) Value {
value.go#L3729: func cvtUintFloat(v Value, t Type) Value {
value.go#L3734: func cvtFloat(v Value, t Type) Value {
value.go#L3745: func cvtComplex(v Value, t Type) Value {
value.go#L3750: func cvtIntString(v Value, t Type) Value {
value.go#L3759: func cvtUintString(v Value, t Type) Value {
value.go#L3768: func cvtBytesString(v Value, t Type) Value {
value.go#L3773: func cvtStringBytes(v Value, t Type) Value {
value.go#L3778: func cvtRunesString(v Value, t Type) Value {
value.go#L3783: func cvtStringRunes(v Value, t Type) Value {
value.go#L3788: func cvtSliceArrayPtr(v Value, t Type) Value {
value.go#L3798: func cvtSliceArray(v Value, t Type) Value {
value.go#L3814: func cvtDirect(v Value, typ Type) Value {
value.go#L3829: func cvtT2I(v Value, typ Type) Value {
value.go#L3841: 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) {
database/sql/driver
driver.go#L467: ColumnTypeScanType(index int) reflect.Type
encoding/asn1
asn1.go#L608: func parseSequenceOf(bytes []byte, sliceType reflect.Type, elemType reflect.Type) (ret reflect.Value, err error) {
asn1.go#L1098: Type reflect.Type
common.go#L151: func getUniversalType(t reflect.Type) (matchAny bool, tagNumber int, isCompound, ok bool) {
encoding/binary
binary.go#L715: 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#L198: Type reflect.Type
encode.go#L233: Type reflect.Type
encode.go#L343: func typeEncoder(t reflect.Type) encoderFunc {
encode.go#L379: func newTypeEncoder(t reflect.Type, allowAddr bool) encoderFunc {
encode.go#L724: func newStructEncoder(t reflect.Type) encoderFunc {
encode.go#L778: func newMapEncoder(t reflect.Type) encoderFunc {
encode.go#L835: func newSliceEncoder(t reflect.Type) encoderFunc {
encode.go#L863: func newArrayEncoder(t reflect.Type) encoderFunc {
encode.go#L891: func newPtrEncoder(t reflect.Type) encoderFunc {
encode.go#L932: func typeByIndex(t reflect.Type, index []int) reflect.Type {
encode.go#L1049: typ reflect.Type
encode.go#L1069: func typeFields(t reflect.Type) structFields {
encode.go#L1075: var count, nextCount map[reflect.Type]int
encode.go#L1078: visited := map[reflect.Type]bool{}
encode.go#L1088: count, nextCount = nextCount, map[reflect.Type]int{}
encode.go#L1273: func cachedTypeFields(t reflect.Type) structFields {
github.com/oapi-codegen/runtime
bindparam.go#L535: func indirect(dest interface{}) (interface{}, reflect.Value, reflect.Type) {
 |
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. |