github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/type.1.21.go (about) 1 //go:build go1.21 && !go1.23 2 // +build go1.21,!go1.23 3 4 package goloader 5 6 import ( 7 "reflect" 8 _ "unsafe" 9 ) 10 11 //go:linkname _uncommon runtime.rtype.uncommon 12 func _uncommon(t *_type) *uncommonType 13 14 //go:linkname typesEqual runtime.typesEqual 15 func typesEqual(t, v *_type, seen map[_typePair]struct{}) bool 16 17 //go:linkname _nameOff runtime.rtype.nameOff 18 func _nameOff(t *_type, off nameOff) name 19 20 //go:linkname _typeOff runtime.rtype.typeOff 21 func _typeOff(t *_type, off typeOff) *_type 22 23 //go:linkname _name internal/abi.Name.Name 24 func _name(n name) string 25 26 //go:linkname _pkgPath runtime.pkgPath 27 func _pkgPath(n name) string 28 29 //go:linkname _isExported internal/abi.Name.IsExported 30 func _isExported(n name) bool 31 32 //go:linkname _methods internal/abi.(*UncommonType).Methods 33 func _methods(t *uncommonType) []method 34 35 //go:linkname _Kind reflect.(*rtype).Kind 36 func _Kind(t *_type) reflect.Kind 37 38 //go:linkname _Elem reflect.(*rtype).Elem 39 func _Elem(t *_type) reflect.Type