MustFill wraps the `Fill` method and panics on errors instead of returning the errors.
(c Container, receiver interface{})
| 79 | |
| 80 | // MustFill wraps the `Fill` method and panics on errors instead of returning the errors. |
| 81 | func MustFill(c Container, receiver interface{}) { |
| 82 | if err := c.Fill(receiver); err != nil { |
| 83 | panic(err) |
| 84 | } |
| 85 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…