fix: fix goline error

This commit is contained in:
dudaodong committed 2023-03-01 11:10:12 +08:00
1 parent 66efe61834
commit 081908bce3
6 files changed
+31 -20

No files matched your search

+5 -1
View File
@@ -19,11 +19,15 @@ func ExampleContext() {
return errors.New("error occurs")
}
Retry(increaseNumber,
err := Retry(increaseNumber,
RetryDuration(time.Microsecond*50),
Context(ctx),
)
if err != nil {
return
}
fmt.Println(number)
// Output: