From e009f97dba7983d8b6fa4cd8374694ff1d17b32c Mon Sep 17 00:00:00 2001 From: "danny.aguswahyudi" Date: Tue, 11 May 2021 19:25:21 +0700 Subject: [PATCH] update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cca8ef8..285ba65 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ All HTTP methods are exposed as a fluent interface. ## Installation ``` -go get -u github.com/gojek/heimdall +go get -u github.com/gojek/heimdall/v7 ``` ## Usage @@ -205,7 +205,7 @@ client := httpclient.NewClient( // The rest is the same as the first example ``` -This will create an HTTP client which will retry every `500` milliseconds incase the request fails. The library also comes with an [Exponential Backoff](https://www.godoc.org/github.com/gojek/heimdall#NewExponentialBackoff) +This will create an HTTP client which will retry every `500` milliseconds incase the request fails. The library also comes with an [Exponential Backoff](https://pkg.go.dev/github.com/gojek/heimdall#NewExponentialBackoff) ### Custom retry mechanisms