Documentation ¶
Index ¶
- type StructField
- type TypeAndCanAddr
- func (t TypeAndCanAddr) CanAddr() bool
- func (t TypeAndCanAddr) Elem() TypeAndCanAddr
- func (t TypeAndCanAddr) Field(i int) StructField
- func (t TypeAndCanAddr) FieldByIndex(index []int) StructField
- func (t TypeAndCanAddr) Implements(ityp *types.Interface) bool
- func (t TypeAndCanAddr) IsArray() bool
- func (t TypeAndCanAddr) IsInterface() bool
- func (t TypeAndCanAddr) IsPtr() bool
- func (t TypeAndCanAddr) IsSlice() bool
- func (t TypeAndCanAddr) IsStruct() bool
- func (t TypeAndCanAddr) Key() TypeAndCanAddr
- func (t TypeAndCanAddr) Name() string
- func (t TypeAndCanAddr) NumField() int
- func (t TypeAndCanAddr) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructField ¶
type StructField struct { Index []int Name string Anonymous bool Tag reflect.StructTag Type TypeAndCanAddr // contains filtered or unexported fields }
func (StructField) IsExported ¶
func (sf StructField) IsExported() bool
type TypeAndCanAddr ¶
func PtrTo ¶
func PtrTo(t TypeAndCanAddr) TypeAndCanAddr
func (TypeAndCanAddr) CanAddr ¶
func (t TypeAndCanAddr) CanAddr() bool
func (TypeAndCanAddr) Elem ¶
func (t TypeAndCanAddr) Elem() TypeAndCanAddr
func (TypeAndCanAddr) Field ¶
func (t TypeAndCanAddr) Field(i int) StructField
func (TypeAndCanAddr) FieldByIndex ¶
func (t TypeAndCanAddr) FieldByIndex(index []int) StructField
func (TypeAndCanAddr) Implements ¶
func (t TypeAndCanAddr) Implements(ityp *types.Interface) bool
func (TypeAndCanAddr) IsArray ¶
func (t TypeAndCanAddr) IsArray() bool
func (TypeAndCanAddr) IsInterface ¶
func (t TypeAndCanAddr) IsInterface() bool
func (TypeAndCanAddr) IsPtr ¶
func (t TypeAndCanAddr) IsPtr() bool
func (TypeAndCanAddr) IsSlice ¶
func (t TypeAndCanAddr) IsSlice() bool
func (TypeAndCanAddr) IsStruct ¶
func (t TypeAndCanAddr) IsStruct() bool
func (TypeAndCanAddr) Key ¶
func (t TypeAndCanAddr) Key() TypeAndCanAddr
func (TypeAndCanAddr) Name ¶
func (t TypeAndCanAddr) Name() string
func (TypeAndCanAddr) NumField ¶
func (t TypeAndCanAddr) NumField() int
func (TypeAndCanAddr) String ¶
func (t TypeAndCanAddr) String() string
Click to show internal directories.
Click to hide internal directories.