Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStructPtr ¶
GetStructPtr is a helper that gets a pointer to a struct value.
Similar to getValuePtr but works with reflect.Value directly.
func GetValidValue ¶
GetValidValue attempts to get a valid reflect.Value from the input object.
It handles untyped nil as an error (no type information available). For typed nil pointers, it uses a fallback approach to create zero values.
Returns an error if no valid Value can be obtained.
func GetValuePtr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.