Documentation ¶
Overview ¶
包 reflection 提供了一些内部使用的反射功能。 md5:7756a0414576baff
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValueToInterface ¶
ValueToInterface 将反射值转换为其接口类型。 md5:a59b428949b9dde2
Types ¶
type OriginTypeAndKindOutput ¶
type OriginTypeAndKindOutput struct { InputType reflect.Type InputKind reflect.Kind OriginType reflect.Type OriginKind reflect.Kind }
func OriginTypeAndKind ¶
func OriginTypeAndKind(value interface{}) (out OriginTypeAndKindOutput)
OriginTypeAndKind 获取并返回原始反射类型和种类。 md5:ee62836f1445e493
type OriginValueAndKindOutput ¶
type OriginValueAndKindOutput struct { InputValue reflect.Value InputKind reflect.Kind OriginValue reflect.Value OriginKind reflect.Kind }
func OriginValueAndKind ¶
func OriginValueAndKind(value interface{}) (out OriginValueAndKindOutput)
OriginValueAndKind 获取并返回原始的反射值和类型。 md5:e2cdf5d39aa2b981
Click to show internal directories.
Click to hide internal directories.