Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Seidl committed Oct 13, 2020
1 parent abbd4ed commit ce731f6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,14 @@ 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)

BREAKING CHANGES 3.0.0 * `DelayTypeFunc` accepts a new parameter `err` - this
breaking change affects only your custom Delay Functions. This change allow
[make delay functions based on error](examples/delay_based_on_error_test.go).

### BREAKING CHANGES

3.0.0

* `DelayTypeFunc` accepts a new parameter `err` - this breaking change affects
only your custom Delay Functions. This change allow [make delay functions based
on error](examples/delay_based_on_error_test.go).

1.0.2 -> 2.0.0

Expand Down
3 changes: 3 additions & 0 deletions retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ SEE ALSO
* [matryer/try](https://github.com/matryer/try) - very popular package, nonintuitive interface (for me)
BREAKING CHANGES
3.0.0
* `DelayTypeFunc` accepts a new parameter `err` - this breaking change affects only your custom Delay Functions. This change allow [make delay functions based on error](examples/delay_based_on_error_test.go).
Expand Down

0 comments on commit ce731f6

Please sign in to comment.