var str string
// 2 tries
err := re.Do(2, func() error {
var e error
str, e = YourFunc()
return e
})
-
Notifications
You must be signed in to change notification settings - Fork 0
wilfreddenton/reDo
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
re.Do is a simple golang retry utility
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published