func NewResilience(log zerolog.Logger, context Context) *Resilience {
	return &Resilience{
		log:     log,
		context: context,
	}
}
NewResilience creates a new resilience with given context.
package resilience
import "github.com/rs/zerolog"
type Resilience struct {
	log     zerolog.Logger
	context Context
}