Skip to content

Commit bba6d6a

Browse files
authored
Merge pull request #7 from codeGROOVE-dev/fork
Update go.mod URL, clarify fork intent
2 parents f68b1b5 + f360e63 commit bba6d6a

File tree

7 files changed

+26
-15
lines changed

7 files changed

+26
-15
lines changed

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
# retry
22

3-
[![Release](https://img.shields.io/github/release/avast/retry-go.svg?style=flat-square)](https://github.com/avast/retry-go/releases/latest)
3+
[![Release](https://img.shields.io/github/release/codeGROOVE-dev/retry-go.svg?style=flat-square)](https://github.com/codeGROOVE-dev/retry-go/releases/latest)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
5-
![GitHub Actions](https://github.com/avast/retry-go/actions/workflows/workflow.yaml/badge.svg)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/avast/retry-go?style=flat-square)](https://goreportcard.com/report/github.com/avast/retry-go)
7-
[![Go Reference](https://pkg.go.dev/badge/github.com/avast/retry-go/v4.svg)](https://pkg.go.dev/github.com/avast/retry-go/v4)
8-
[![codecov.io](https://codecov.io/github/avast/retry-go/coverage.svg?branch=master)](https://codecov.io/github/avast/retry-go?branch=master)
9-
[![Sourcegraph](https://sourcegraph.com/github.com/avast/retry-go/-/badge.svg)](https://sourcegraph.com/github.com/avast/retry-go?badge)
5+
![GitHub Actions](https://github.com/codeGROOVE-dev/retry-go/actions/workflows/workflow.yaml/badge.svg)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/codeGROOVE-dev/retry-go?style=flat-square)](https://goreportcard.com/report/github.com/codeGROOVE-dev/retry-go)
7+
[![Go Reference](https://pkg.go.dev/badge/github.com/codeGROOVE-dev/retry-go.svg)](https://pkg.go.dev/github.com/codeGROOVE-dev/retry-go)
8+
9+
## Fork Information
10+
11+
This is an actively maintained fork of [avast/retry-go](https://github.com/avast/retry-go), focused on reliability and simplicity. We extend our gratitude to the original authors and contributors at Avast for creating this excellent library.
12+
13+
**Key improvements in this fork:**
14+
- Enhanced reliability and edge case handling
15+
- Simplified API design
16+
- Active maintenance and bug fixes
17+
- Focus on production-grade stability
18+
19+
**Original Project:** [github.com/avast/retry-go](https://github.com/avast/retry-go)
1020

1121
Simple library for retry mechanism
1222

@@ -67,7 +77,7 @@ HTTP GET with retry with data:
6777

6878
fmt.Println(string(body))
6979

70-
[More examples](https://github.com/avast/retry-go/tree/master/examples)
80+
[More examples](https://github.com/codeGROOVE-dev/retry-go/tree/master/examples)
7181

7282
# SEE ALSO
7383

@@ -91,7 +101,7 @@ nonintuitive interface (for me)
91101

92102
* 4.0.0
93103

94-
- infinity retry is possible by set `Attempts(0)` by PR [#49](https://github.com/avast/retry-go/pull/49)
104+
- infinity retry is possible by set `Attempts(0)` by PR [#49](https://github.com/avast/retry-go/pull/49) (original project)
95105

96106
* 3.0.0
97107

@@ -101,7 +111,7 @@ nonintuitive interface (for me)
101111

102112
- argument of `retry.Delay` is final delay (no multiplication by `retry.Units` anymore)
103113
- function `retry.Units` are removed
104-
- [more about this breaking change](https://github.com/avast/retry-go/issues/7)
114+
- [more about this breaking change](https://github.com/avast/retry-go/issues/7) (original project)
105115

106116
* 0.3.0 -> 1.0.0
107117

VERSION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
4.6.1
1+
0.0.1
2+

examples/custom_retry_function_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/avast/retry-go/v4"
12+
"github.com/codeGROOVE-dev/retry-go"
1313
"github.com/stretchr/testify/assert"
1414
)
1515

examples/delay_based_on_error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/avast/retry-go/v4"
13+
"github.com/codeGROOVE-dev/retry-go"
1414
"github.com/stretchr/testify/assert"
1515
)
1616

examples/errors_history_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http/httptest"
77
"testing"
88

9-
"github.com/avast/retry-go/v4"
9+
"github.com/codeGROOVE-dev/retry-go"
1010
"github.com/stretchr/testify/assert"
1111
)
1212

examples/http_get_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http/httptest"
88
"testing"
99

10-
"github.com/avast/retry-go/v4"
10+
"github.com/codeGROOVE-dev/retry-go"
1111
"github.com/stretchr/testify/assert"
1212
)
1313

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/avast/retry-go/v4
1+
module github.com/codeGROOVE-dev/retry-go
22

33
go 1.20
44

0 commit comments

Comments
 (0)