reflectx

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsImplement

func IsImplement(child interface{}, parent interface{}) bool

func TryCallMethod

func TryCallMethod(b interface{}, methodName string, args ...interface{}) []reflect.Value

func WalkStructField

func WalkStructField(ptr interface{}, f func(field reflect.StructField, value reflect.Value) error, excludePrivateField bool) error

func WalkStructFieldV3 added in v1.3.7

func WalkStructFieldV3(t reflect.Type, v reflect.Value, f func(field reflect.StructField, value reflect.Value) error, excludePrivateField bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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