cherryReflect

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuncName

func GetFuncName(fn interface{}) string

func GetInvokeFunc

func GetInvokeFunc(name string, fn interface{}) (*cfacade.MethodInfo, error)

GetInvokeFunc reflect function convert to MethodInfo

func GetStructName

func GetStructName(v interface{}) string

func IsNotPtr added in v1.2.3

func IsNotPtr(val interface{}) bool

func IsPtr added in v1.2.3

func IsPtr(val interface{}) bool

func ReflectTry

func ReflectTry(f reflect.Value, args []reflect.Value, handler func(interface{}))

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL