runtime
v0.0.0-20250722074740-d61791e4306e
github.com/going/json/internal/runtime
Documentation
pkg.go.dev ↗Functions
IfaceIndir
func IfaceIndir(*Type) bool
IsIgnoredStructField
func IsIgnoredStructField(field reflect.StructField) bool
RType2Type
func RType2Type(t *Type) reflect.Type
Types
SliceHeader
type SliceHeader struct {
Data unsafe.Pointer
Len int
Cap int
}
StructTag
type StructTag struct {
Key string
IsTaggedKey bool
IsOmitEmpty bool
IsString bool
Field reflect.StructField
}
StructTagFromField
func StructTagFromField(field reflect.StructField) *StructTag
StructTags
type StructTags []*StructTag
StructTags.ExistsKey
func (t StructTags) ExistsKey(key string) bool
Type
type Type struct{}
Type representing reflect.rtype for noescape trick
PtrTo
func PtrTo(*Type) *Type
Type2RType
func Type2RType(t reflect.Type) *Type
Type.Align
func (t *Type) Align() int
Type.AssignableTo
func (t *Type) AssignableTo(u reflect.Type) bool
Type.Bits
func (t *Type) Bits() int
Type.ChanDir
func (t *Type) ChanDir() reflect.ChanDir
Type.Comparable
func (t *Type) Comparable() bool
Type.ConvertibleTo
func (t *Type) ConvertibleTo(u reflect.Type) bool
Type.Elem
func (t *Type) Elem() *Type
Type.Field
func (t *Type) Field(i int) reflect.StructField
Type.FieldAlign
func (t *Type) FieldAlign() int
Type.FieldByIndex
func (t *Type) FieldByIndex(index []int) reflect.StructField
Type.FieldByName
func (t *Type) FieldByName(name string) (reflect.StructField, bool)
Type.FieldByNameFunc
func (t *Type) FieldByNameFunc(match func(string) bool) (reflect.StructField, bool)
Type.Implements
func (t *Type) Implements(u reflect.Type) bool
Type.In
func (t *Type) In(i int) reflect.Type
Type.IsVariadic
func (t *Type) IsVariadic() bool
Type.Key
func (t *Type) Key() *Type
Type.Kind
func (t *Type) Kind() reflect.Kind
Type.Len
func (t *Type) Len() int
Type.Method
func (t *Type) Method(a0 int) reflect.Method
Type.MethodByName
func (t *Type) MethodByName(a0 string) (reflect.Method, bool)
Type.Name
func (t *Type) Name() string
Type.NumField
func (t *Type) NumField() int
Type.NumIn
func (t *Type) NumIn() int
Type.NumMethod
func (t *Type) NumMethod() int
Type.NumOut
func (t *Type) NumOut() int
Type.Out
func (t *Type) Out(i int) reflect.Type
Type.PkgPath
func (t *Type) PkgPath() string
Type.Size
func (t *Type) Size() uintptr
Type.String
func (t *Type) String() string
TypeAddr
type TypeAddr struct {
BaseTypeAddr uintptr
MaxTypeAddr uintptr
AddrRange uintptr
AddrShift uintptr
}
AnalyzeTypeAddr
func AnalyzeTypeAddr() *TypeAddr