MCPcopy Index your code
hub / github.com/codegangsta/inject / Set

Method Set

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

Provides a possibility to directly insert a mapping based on type and value. This makes it possible to directly map type arguments not possible to instantiate with reflect like unidirectional channels.

(reflect.Type, reflect.Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

Test_InjectorInvokeFunction · 0.65
Test_InjectorSetFunction · 0.65
ApplyMethod · 0.65

Implementers 1

injectorinject.go

Calls

no outgoing calls

Tested by 2

Test_InjectorInvokeFunction · 0.52
Test_InjectorSetFunction · 0.52