depinject/depinject.go
func (di *dependencyInjector) MustRegister(constructorFunc interface{}) {
	err := di.Register(constructorFunc)
	if err != nil {
		panic(err)
	}
}
func (di *dependencyInjector) MustRegister(constructorFunc interface{}) {
	err := di.Register(constructorFunc)
	if err != nil {
		panic(err)
	}
}
func ( di * dependencyInjector ) MustRegister ( constructorFunc interface { } ) { err := di . Register ( constructorFunc ) if err != nil { panic ( err ) } }
// MustRegister is a helper that calls Register and panics if it returns an error
MustRegister is a helper that calls Register and panics if it returns an error