MustNamedResolve wraps the `NamedResolve` method and panics on errors instead of returning the errors.
(c Container, abstraction interface{}, name string)
| 72 | |
| 73 | // MustNamedResolve wraps the `NamedResolve` method and panics on errors instead of returning the errors. |
| 74 | func MustNamedResolve(c Container, abstraction interface{}, name string) { |
| 75 | if err := c.NamedResolve(abstraction, name); err != nil { |
| 76 | panic(err) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // MustFill wraps the `Fill` method and panics on errors instead of returning the errors. |
| 81 | func MustFill(c Container, receiver interface{}) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…