Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
Convert converts the input reflect.Value `val` to the specified reflect.Type `typ` and returns the result. Convert extends the functionality of the reflect.Convert function by also convert subtypes.
func ConvertToType ¶
ConvertToType converts the input value `val` to the specified type `T` and returns it.
func GetPointerOfValueType ¶
GetPointerOfValueType returns a pointer to a new value of the same type as the input value `val`. The new value is initialized to the input value.
func GetSliceType ¶
GetSliceType returns the element type of the input slice `slice`.
func GetTypeHash ¶
func GetTypeHash(v interface{}) string
GetTypeHash recursively generates a hash based on struct type
func GetUnderlyingPointerValue ¶
GetUnderlyingPointerValue dereferences the input pointer `ptr` and returns the value it points to.
Types ¶
This section is empty.