Versions in this module Expand all Collapse all v1 v1.3.4 Jan 28, 2022 Changes in this version + func EachField(typ Type, tagForName string, ...) + func FieldDisplayName(structTag reflect.StructTag, namedTagKey string, defaultName string) (string, bool, bool) + func FullTypeName(typ Type) string + func NewPackage(importPath string) *types.Package + func NewTypesTypeFromReflectType(rtype reflect.Type) types.Type + func TryNew(u Type) (reflect.Value, bool) + func TypeByName(importPath string, name string) types.Type + type Method interface + Name func() string + PkgPath func() string + Type func() Type + type RMethod struct + Method reflect.Method + func (m *RMethod) Name() string + func (m *RMethod) PkgPath() string + func (m *RMethod) Type() Type + type RStructField struct + StructField reflect.StructField + func (f *RStructField) Anonymous() bool + func (f *RStructField) Name() string + func (f *RStructField) PkgPath() string + func (f *RStructField) Tag() reflect.StructTag + func (f *RStructField) Type() Type + type RType struct + func FromRType(rtype reflect.Type) *RType + func (rtype *RType) AssignableTo(u Type) bool + func (rtype *RType) ConvertibleTo(u Type) bool + func (rtype *RType) Elem() Type + func (rtype *RType) Field(i int) StructField + func (rtype *RType) FieldByName(name string) (StructField, bool) + func (rtype *RType) FieldByNameFunc(match func(string) bool) (StructField, bool) + func (rtype *RType) Implements(u Type) bool + func (rtype *RType) In(i int) Type + func (rtype *RType) Key() Type + func (rtype *RType) Method(i int) Method + func (rtype *RType) MethodByName(name string) (Method, bool) + func (rtype *RType) Out(i int) Type + type StructField interface + Anonymous func() bool + Name func() string + PkgPath func() string + Tag func() reflect.StructTag + Type func() Type + type TMethod struct + Func *types.Func + Ptr bool + Recv *TType + func (m *TMethod) Name() string + func (m *TMethod) PkgPath() string + func (m *TMethod) Type() Type + type TStructField struct + TagStr string + func (f *TStructField) PkgPath() string + func (f *TStructField) Tag() reflect.StructTag + func (f *TStructField) Type() Type + type TType struct + Type types.Type + func FromTType(ttype types.Type) *TType + func (ttype *TType) AssignableTo(u Type) bool + func (ttype *TType) Comparable() bool + func (ttype *TType) ConvertibleTo(u Type) bool + func (ttype *TType) Elem() Type + func (ttype *TType) Field(i int) StructField + func (ttype *TType) FieldByName(name string) (StructField, bool) + func (ttype *TType) FieldByNameFunc(match func(string) bool) (StructField, bool) + func (ttype *TType) Implements(u Type) bool + func (ttype *TType) In(i int) Type + func (ttype *TType) Key() Type + func (ttype *TType) Kind() reflect.Kind + func (ttype *TType) Len() int + func (ttype *TType) Method(i int) Method + func (ttype *TType) MethodByName(name string) (Method, bool) + func (ttype *TType) Name() string + func (ttype *TType) NumField() int + func (ttype *TType) NumIn() int + func (ttype *TType) NumMethod() int + func (ttype *TType) NumOut() int + func (ttype *TType) Out(i int) Type + func (ttype *TType) PkgPath() string + func (ttype *TType) String() string + type Type interface + AssignableTo func(u Type) bool + Comparable func() bool + ConvertibleTo func(u Type) bool + Elem func() Type + Field func(i int) StructField + FieldByName func(name string) (StructField, bool) + FieldByNameFunc func(match func(string) bool) (StructField, bool) + Implements func(u Type) bool + In func(i int) Type + Key func() Type + Kind func() reflect.Kind + Len func() int + Method func(i int) Method + MethodByName func(name string) (Method, bool) + Name func() string + NumField func() int + NumIn func() int + NumMethod func() int + NumOut func() int + Out func(i int) Type + PkgPath func() string + String func() string + func Deref(typ Type) Type + func EncodingTextMarshalerTypeReplacer(u Type) (Type, bool)