From 0556298be48379e5e5b67bc6b6f4a99d4893852c Mon Sep 17 00:00:00 2001 From: Jan Seidl Date: Fri, 10 Nov 2017 14:37:07 +0100 Subject: [PATCH] see also, next modules --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9389257..babd2e5 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,12 @@ http calls with retries and backoff exponential backoff algorithm from Google's HTTP Client Library for Java. Really complicated interface. +* [rafaeljesus/retry-go](https://github.com/rafaeljesus/retry-go) - looks good, +slightly similar as this package, don't have 'simple' `Retry` method + +* [matryer/try](https://github.com/matryer/try) - very popular package, +nonintuitive interface (for me) + ## Usage #### func Retry @@ -101,7 +107,8 @@ error interface func (e Error) WrappedErrors() []error ``` WrappedErrors returns the list of errors that this Error is wrapping. It is an -implementation of the errwrap.Wrapper interface so that multierror.Error can be +implementation of the `errwrap.Wrapper` interface in package +[errwrap](https://github.com/hashicorp/errwrap) so that `retry.Error` can be used with that library. #### type OnRetry