Documentation ¶
Index ¶
- func FuncOf(funcName string) unsafe.Pointer
- func GetField[T any](obj any, fieldName string) (r T)
- func RuntimeFuncOf(funcName string) (r unsafe.Pointer)
- func RuntimeTypeOf(typeName string) (r reflect.Type)
- func SetField[T any](obj any, fieldName string, val T)
- func TypeOf(typeName string) reflect.Type
- type Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncOf ¶
FuncOf find the function entry by package path and name, the function should be linked and should not be inlined
func RuntimeFuncOf ¶
RuntimeFuncOf find the function entry by package path and name in runtime, the function should be linked and should not be inlined
func RuntimeTypeOf ¶
RuntimeTypeOf find the type by package path and name in runtime
Types ¶
Click to show internal directories.
Click to hide internal directories.