Versions in this module Expand all Collapse all v0 v0.2.5 Jun 10, 2021 Changes in this version + func Run(t Failer, f func(r *R)) + func RunWith(r Retryer, t Failer, f func(r *R)) + type Counter struct + Count int + Wait time.Duration + func ThreeTimes() *Counter + func (r *Counter) NextOr(fail func()) bool + type Failer interface + FailNow func() + Log func(args ...interface{}) + type R struct + func (r *R) Check(err error) + func (r *R) Error(args ...interface{}) + func (r *R) Errorf(format string, args ...interface{}) + func (r *R) FailNow() + func (r *R) Fatal(args ...interface{}) + func (r *R) Fatalf(format string, args ...interface{}) + type Retryer interface + NextOr func(fail func()) bool + type Timer struct + Timeout time.Duration + Wait time.Duration + func DefaultFailer() *Timer + func TwoSeconds() *Timer + func (r *Timer) NextOr(fail func()) bool