Documentation ¶
Index ¶
- func CallFunc(fn any, params []any) ([]any, error)
- func CallMethod(in any, method string, params []any) ([]any, error)
- func MethodExists(in any, method string) bool
- type Callable
- func (this Callable) Arguments() []reflect.Type
- func (this Callable) Call(in []reflect.Value) []reflect.Value
- func (this Callable) FnCall(params []any) []any
- func (this Callable) InNum() int
- func (this Callable) OutNum() int
- func (this Callable) Parse(fn any) Callable
- func (this Callable) Returns() []reflect.Type
- type Container
- func (this *Container) Delete(key string) bool
- func (this *Container) Exists(key string) bool
- func (this *Container) FuzzyDelete(keyPre string)
- func (this *Container) Get(key string) any
- func (this *Container) Set(key string, value any) bool
- func (this *Container) SetItems(key string, value any) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Callable ¶
type Callable struct { Error error // contains filtered or unexported fields }
*
- 调用容器 *
- @create 2022-8-3
- @author deatil
Click to show internal directories.
Click to hide internal directories.