Versions in this module Expand all Collapse all v1 v1.0.0 Jun 9, 2019 Changes in this version + func Try(fn func() error, options ...Option) (err error) + type Option func(*config) + func DelayUnit(delay time.Duration) Option + func MaxAttempts(attempts uint) Option + func OnRetry(fn func(error)) Option + func RetryIf(fn func(error) bool) Option