xxreflect

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillEmptyDst

func FillEmptyDst(src interface{}, dst interface{}) error

为dst中值为空的设置来自src对象的值

func FuncInTypes added in v0.0.9

func FuncInTypes(funcType reflect.Type) []reflect.Type

获取函数的参数类型列表

func FuncOutTypes added in v0.0.9

func FuncOutTypes(funcType reflect.Type) []reflect.Type

获取函数的返回参数类型列表

func TypeEqual added in v0.0.9

func TypeEqual(check, target reflect.Type) bool

func UpdateDst

func UpdateDst(src interface{}, dst interface{}) error

使用src中不为零值的字段,更新dst中的字段

Types

This section is empty.

Jump to

Keyboard shortcuts

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