MCPcopy Create free account
hub / github.com/golobby/container / MustFill

Function MustFill

must.go:81–85  ·  view source on GitHub ↗

MustFill wraps the `Fill` method and panics on errors instead of returning the errors.

(c Container, receiver interface{})

Source from the content-addressed store, hash-verified

79
80// MustFill wraps the `Fill` method and panics on errors instead of returning the errors.
81func MustFill(c Container, receiver interface{}) {
82 if err := c.Fill(receiver); err != nil {
83 panic(err)
84 }
85}

Callers

nothing calls this directly

Calls 1

FillMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…