Documentation ¶
Overview ¶
context
Index ¶
- type GoContext
- func (ctx *GoContext) Bind(v interface{}) error
- func (ctx *GoContext) Invoke(fn interface{}) ([]reflect.Value, error)
- func (ctx *GoContext) InvokeSpecific(fn interface{}, names ...string) ([]reflect.Value, error)
- func (ctx *GoContext) Register(v interface{})
- func (ctx *GoContext) RegisterAs(v interface{}, interfacePtr interface{})
- type GoNamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoContext ¶
type GoContext struct {
// contains filtered or unexported fields
}
func NewGoContext ¶
func NewGoContext() *GoContext
func (*GoContext) InvokeSpecific ¶
func (*GoContext) RegisterAs ¶
func (ctx *GoContext) RegisterAs(v interface{}, interfacePtr interface{})
用接口注册
Click to show internal directories.
Click to hide internal directories.