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

Method Invoke

inject.go:88–103  ·  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. It panics if f is not a function

(f interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.95

Tested by

no test coverage detected