Documentation
¶
Index ¶
- func Call(data any, method string, args ...any) error
- func Field(data any, field string) any
- func IsImplements(data any, i any) bool
- func IsNil(v any) bool
- func IsPtr(typ Kind) bool
- func IsSlice(typ Kind) bool
- func IsStruct(typ Kind) bool
- func IsZero(v any) bool
- func Name(v any) string
- func New(v any) any
- func NewArray(v any) any
- func Path(typ reflect.Type, path ...string) string
- func Set(data any, field string, value any)
- func SetByIndex(data any, index int, value any)
- func SetT(data any, field string, value string)
- func ToSlice(slice any) []any
- func TrueField(data any, field string) any
- func TrueType(typ reflect.Type) reflect.Type
- func TrueTypeof(v any) reflect.Type
- func TrueTypeofValue(v any) (typ reflect.Type, i any)
- func TrueValue(typ reflect.Value) reflect.Value
- func TrueValueOf(v any) reflect.Value
- type Kind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsImplements ¶ added in v1.2.3
func Set ¶ added in v1.2.1
Set data field value field type must the same as value can set basic or ptr value
func SetByIndex ¶ added in v1.2.4
SetByIndex data field index value type and field must same
func TrueTypeof ¶
func TrueValueOf ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.