MCPcopy Create free account
hub / github.com/codegangsta/inject / Invoke

Method Invoke

inject.go:35–35  ·  view source on GitHub ↗

Invoke attempts to call the interface{} provided as a function, providing dependencies for function arguments based on Type. Returns a slice of reflect.Value representing the returned values of the function. Returns an error if the injection fails.

(interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Test_InjectorInvokeFunction · 0.65

Implementers 1

injectorinject.go

Calls

no outgoing calls

Tested by 2

Test_InjectorInvokeFunction · 0.52