Versions in this module Expand all Collapse all v1 v1.0.0 Mar 2, 2023 Changes in this version + var Retry0TimeError = errors.New("retry time can't be 0") + var RetryTimeout0Error = errors.New("retry timeout can't be 0") + var ShouldNotRetryErr = errors.New("Shouldn't retry") + var TimeoutErr = errors.New("retry timeout") + func RetryDo(name string, times int, timeout time.Duration, run runAbortFunc, ...) error