package runtime
import "github.com/goccy/go-json/internal/runtime"
Index ¶
- func IfaceIndir(*Type) bool
- func IsIgnoredStructField(field reflect.StructField) bool
- func RType2Type(t *Type) reflect.Type
- type SliceHeader
- type StructTag
- type StructTags
- type Type
- func PtrTo(*Type) *Type
- func Type2RType(t reflect.Type) *Type
- func (t *Type) Align() int
- func (t *Type) AssignableTo(u reflect.Type) bool
- func (t *Type) Bits() int
- func (t *Type) ChanDir() reflect.ChanDir
- func (t *Type) Comparable() bool
- func (t *Type) ConvertibleTo(u reflect.Type) bool
- func (t *Type) Elem() *Type
- func (t *Type) Field(i int) reflect.StructField
- func (t *Type) FieldAlign() int
- func (t *Type) FieldByIndex(index []int) reflect.StructField
- func (t *Type) FieldByName(name string) (reflect.StructField, bool)
- func (t *Type) FieldByNameFunc(match func(string) bool) (reflect.StructField, bool)
- func (t *Type) Implements(u reflect.Type) bool
- func (t *Type) In(i int) reflect.Type
- func (t *Type) IsVariadic() bool
- func (t *Type) Key() *Type
- func (t *Type) Kind() reflect.Kind
- func (t *Type) Len() int
- func (t *Type) Method(a0 int) reflect.Method
- func (t *Type) MethodByName(a0 string) (reflect.Method, bool)
- func (t *Type) Name() string
- func (t *Type) NumField() int
- func (t *Type) NumIn() int
- func (t *Type) NumMethod() int
- func (t *Type) NumOut() int
- func (t *Type) Out(i int) reflect.Type
- func (t *Type) PkgPath() string
- func (t *Type) Size() uintptr
- func (t *Type) String() string
- type TypeAddr
Functions ¶
func IfaceIndir ¶
func IsIgnoredStructField ¶
func IsIgnoredStructField(field reflect.StructField) bool
func RType2Type ¶
Types ¶
type SliceHeader ¶
type StructTag ¶
type StructTag struct { Key string IsTaggedKey bool IsOmitEmpty bool IsString bool Field reflect.StructField }
func StructTagFromField ¶
func StructTagFromField(field reflect.StructField) *StructTag
type StructTags ¶
type StructTags []*StructTag
func (StructTags) ExistsKey ¶
func (t StructTags) ExistsKey(key string) bool
type Type ¶
type Type struct{}
Type representing reflect.rtype for noescape trick
func PtrTo ¶
func Type2RType ¶
func (*Type) Align ¶
func (*Type) AssignableTo ¶
func (*Type) Bits ¶
func (*Type) ChanDir ¶
func (*Type) Comparable ¶
func (*Type) ConvertibleTo ¶
func (*Type) Elem ¶
func (*Type) Field ¶
func (t *Type) Field(i int) reflect.StructField
func (*Type) FieldAlign ¶
func (*Type) FieldByIndex ¶
func (t *Type) FieldByIndex(index []int) reflect.StructField
func (*Type) FieldByName ¶
func (t *Type) FieldByName(name string) (reflect.StructField, bool)
func (*Type) FieldByNameFunc ¶
func (*Type) Implements ¶
func (*Type) In ¶
func (*Type) IsVariadic ¶
func (*Type) Key ¶
func (*Type) Kind ¶
func (*Type) Len ¶
func (*Type) Method ¶
func (*Type) MethodByName ¶
func (*Type) Name ¶
func (*Type) NumField ¶
func (*Type) NumIn ¶
func (*Type) NumMethod ¶
func (*Type) NumOut ¶
func (*Type) Out ¶
func (*Type) PkgPath ¶
func (*Type) Size ¶
func (*Type) String ¶
type TypeAddr ¶
type TypeAddr struct { BaseTypeAddr uintptr MaxTypeAddr uintptr AddrRange uintptr AddrShift uintptr }
func AnalyzeTypeAddr ¶
func AnalyzeTypeAddr() *TypeAddr
Source Files ¶
rtype.go struct_field.go type.go
- Version
- v0.10.5 (latest)
- Published
- Jan 25, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.