reflectCall

package
v0.0.0-...-eedd94a Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParamsNotAdapted = errors.New("Function parameters mismatch.")
)

Functions

This section is empty.

Types

type FuncMap

type FuncMap map[string]reflect.Value

定义控制器函数Map类型,便于后续快捷使用

func GetFunList

func GetFunList(enter interface{}) FuncMap

func InitFunc

func InitFunc(size int) FuncMap

func (FuncMap) FunCall

func (fMap FuncMap) FunCall(key string, args []interface{}) (result []reflect.Value, err error)

func (FuncMap) FuncBand

func (fMap FuncMap) FuncBand(key string, vpt interface{}) (err error)

Jump to

Keyboard shortcuts

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