Registry / utility / songmu-retry

songmu-retry

JSON →
library0.1.0gogounverified

A simple Go library for retrying operations with configurable backoff and maximum attempts.

go get github.com/Songmu/retry
INSTALL
IMPORT
SIG · SONGMU-RETRY
S
songmu-retry
utilitygov0.1.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/Songmu/retry

Retries a function up to 3 times with a 1-second delay between attempts.

package main import ( "fmt" "github.com/Songmu/retry" ) func main() { err := retry.Retry(3, 1, func() error { return nil }) if err != nil { panic(err) } fmt.Println("Success") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
songmu-retry — go get songmu-retry · libregistry