Documentation ¶
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 (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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfaceIndir ¶
func IsIgnoredStructField ¶
func IsIgnoredStructField(field reflect.StructField) bool
func RType2Type ¶
Types ¶
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 Type2RType ¶
func (*Type) Comparable ¶
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) IsVariadic ¶
Click to show internal directories.
Click to hide internal directories.