Struct accepts a pointer to a struct value and returns a structure which contains bindings for the struct's fields and a method to extract a Handler from this struct's method.
(ptrValue interface{}, partyParamsCount int)
| 372 | // contains bindings for the struct's fields and a method to |
| 373 | // extract a Handler from this struct's method. |
| 374 | func (c *Container) Struct(ptrValue interface{}, partyParamsCount int) *Struct { |
| 375 | return makeStruct(ptrValue, c, partyParamsCount) |
| 376 | } |
| 377 | |
| 378 | // ErrMissingDependency may returned only from the `Container.Inject` method |
| 379 | // when not a matching dependency found for "toPtr". |
nothing calls this directly
no test coverage detected