Registry / utility / avast-retry-go-v4

avast-retry-go-v4

JSON →
library4.7.0gogounverified

Simple library for retry mechanism in Go.

go get github.com/avast/retry-go/v4
INSTALL
IMPORT
SIG · AVAST-RETRY-GO-V4
A
avast-retry-go-v4
utilitygov4.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

retry
github.com/avast/retry-go/v4

Retries a function up to 3 times.

package main import ( "fmt" "github.com/avast/retry-go/v4" ) func main() { err := retry.Do( func() error { return nil }, retry.Attempts(3), ) fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
2
Resources
avast-retry-go-v4 — go get avast-retry-go-v4 · libregistry